Makefile: fix path installation issues

- quote paths that may have spaces
- force ln in case the file already exists

Signed-off-by: Benoit Fouletier <bennews@free.fr>
pull/10/head
Benoit Fouletier 5 years ago
parent ca2fd07dfa
commit 2cbd4a46a7

@ -34,10 +34,10 @@ Documentation/html/git-filter-repo.html:
git show origin/docs:html/git-filter-repo.html >Documentation/html/git-filter-repo.html
install: snag_docs #fixup_locale
cp -a git-filter-repo $(bindir)/
ln -s $(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
cp -a git-filter-repo "$(bindir)/"
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"
#

Loading…
Cancel
Save