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
created.
* Make the git-annex-standalone.deb prevent runshell from installing
wrappers into $HOME/.ssh
+ * Make git-annex-standalone.deb include the git-annex html documentation,
+ desktop file, and base completion file, same as the regular git-annex.deb.
-- Joey Hess <id@joeyh.name> Wed, 04 Nov 2015 12:50:20 -0400
@@ -0,0 +1,2 @@
+/usr/lib/git-annex.linux/git-annex /usr/bin/git-annex
+/usr/lib/git-annex.linux/git-annex-shell /usr/bin/git-annex-shell
-Index: git-annex/debian/manpages
-===================================================================
---- /dev/null
-+++ git-annex/debian/manpages
-@@ -0,0 +1 @@
-+debian/git-annex-standalone/usr/lib/git-annex.linux/usr/share/man/man1/git-annex*
make linuxstandalone GIT_ANNEX_PACKAGE_INSTALL=1
override_dh_auto_install:
- : # nothing to do, we just need to copy the beast, as instructed in debian/install
+ make install-misc install-docs DESTDIR=debian/git-annex-standalone
+ # bins are linked into place, as instructed in debian/install and debian/links
override_dh_fixperms:
dh_fixperms -Xld-linux