summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-11-10 13:18:58 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-11-10 13:21:05 -0400
commita216b94c949cd363e9888aec4e8bfb2c5de7c8f0 (patch)
tree307515a210ef4ef7c2c2c667104dd9b1f29f4424 /Makefile
parent071ad29c5e72226de2e0fb12beafc2b1c5f6ef0c (diff)
Make git-annex-standalone.deb include the git-annex html documentation, desktop file, and base completion file, same as the regular git-annex.deb.
It already had a doc-base file relating to the html documentation, and there's no reason not to include the other stuff.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dae2d5d5b..523632edc 100644
--- a/Makefile
+++ b/Makefile
@@ -41,14 +41,18 @@ install-docs: docs install-mans
rsync -a --delete html/ $(DESTDIR)$(PREFIX)/$(SHAREDIR)/doc/git-annex/html/; \
fi
-install: build install-docs Build/InstallDesktopFile
+install-bins: build
install -d $(DESTDIR)$(PREFIX)/bin
install git-annex $(DESTDIR)$(PREFIX)/bin
ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-annex-shell
+
+install-misc: Build/InstallDesktopFile
./Build/InstallDesktopFile $(PREFIX)/bin/git-annex || true
install -d $(DESTDIR)$(PREFIX)/share/bash-completion/completions
install -m 0644 bash-completion.bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions/git-annex
+install: install-bins install-docs install-misc
+
test: git-annex
./git-annex test