From a216b94c949cd363e9888aec4e8bfb2c5de7c8f0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 10 Nov 2015 13:18:58 -0400 Subject: 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. --- Makefile | 6 +++++- debian/changelog | 2 ++ debian/patches/standalone-build | 6 ------ debian/rules | 3 ++- 4 files changed, 9 insertions(+), 8 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 diff --git a/debian/changelog b/debian/changelog index 739579f17..83ccc8df5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,8 @@ git-annex (5.20151102.2) UNRELEASED; urgency=medium 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 Wed, 04 Nov 2015 12:50:20 -0400 diff --git a/debian/patches/standalone-build b/debian/patches/standalone-build index 9bea9b30f..801bfbbb2 100644 --- a/debian/patches/standalone-build +++ b/debian/patches/standalone-build @@ -60,9 +60,3 @@ Index: git-annex/debian/links @@ -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* diff --git a/debian/rules b/debian/rules index 294cb3028..3fcaccb86 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,8 @@ override_dh_auto_build: 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 -- cgit v1.2.3