Skip to content

Commit

Permalink
Update mandb after installing the man page
Browse files Browse the repository at this point in the history
When manually installing the manpage, also update the mandb.

Signed-off-by: Eric Keller <[email protected]>
  • Loading branch information
erickeller committed Dec 1, 2021
1 parent 235fed3 commit ced9a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ So, installation might look something like the following:

```
cp -a git-filter-repo $(git --exec-path)
cp -a git-filter-repo.1 $(git --man-path)/man1
cp -a git-filter-repo.1 $(git --man-path)/man1 && mandb
cp -a git-filter-repo.html $(git --html-path)
ln -s $(git --exec-path)/git-filter-repo \
$(python -c "import site; print(site.getsitepackages()[-1])")/git_filter_repo.py
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ install: snag_docs #fixup_locale
ln -sf "$(bindir)/git-filter-repo" "$(pythondir)/git_filter_repo.py"
cp -a Documentation/man1/git-filter-repo.1 "$(mandir)/man1/git-filter-repo.1"
cp -a Documentation/html/git-filter-repo.html "$(htmldir)/git-filter-repo.html"
if which mandb > /dev/null; then mandb; fi


#
Expand Down

0 comments on commit ced9a0b

Please sign in to comment.