[med-svn] [centrifuge] 01/02: More sensible installation
Andreas Tille
tille at debian.org
Sat Jan 6 10:59:21 UTC 2018
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository centrifuge.
commit 796ba7468f8f26429a14b16bb412723b2df42802
Author: Andreas Tille <tille at debian.org>
Date: Mon Dec 18 20:00:38 2017 +0100
More sensible installation
---
debian/rules | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/debian/rules b/debian/rules
index 7c5246e..be95851 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
# DH_VERBOSE := 1
+include /usr/share/dpkg/default.mk
+# this provides:
+# DEB_SOURCE: the source package name
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export POPCNT_CAPABILITY=0
%:
@@ -9,3 +13,12 @@ export POPCNT_CAPABILITY=0
override_dh_auto_install:
dh_auto_install -- prefix=/usr/lib/centrifuge
+ mv debian/$(DEB_SOURCE)/usr/lib/centrifuge/bin/* debian/$(DEB_SOURCE)/usr/lib/centrifuge/
+ rmdir debian/$(DEB_SOURCE)/usr/lib/centrifuge/bin
+ # move documentation to correct location
+ mkdir -p debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/html
+ mv debian/$(DEB_SOURCE)/usr/lib/centrifuge/share/$(DEB_SOURCE)/doc/*html \
+ debian/$(DEB_SOURCE)/usr/lib/centrifuge/share/$(DEB_SOURCE)/doc/*css \
+ debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/html
+ # remove useless stuff in documentation dir
+ rm -rf debian/$(DEB_SOURCE)/usr/lib/centrifuge/share/doc/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/centrifuge.git
More information about the debian-med-commit
mailing list