[med-svn] [pbsuite] 02/12: Fix permissions and exclude unnecessary files

Afif Elghraoui afif at moszumanska.debian.org
Sat Feb 27 08:46:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository pbsuite.

commit f1ab0dfc98a34e3a5827fe3591702981396b49df
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Fri Feb 26 22:24:32 2016 -0800

    Fix permissions and exclude unnecessary files
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index feb6431..c432081 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 
 #include /usr/share/dpkg/default.mk
 
+exclude = sam2bam sortChunks.sh
+
 %:
 	dh $@ --with python2 --build-system=pybuild
 
@@ -14,3 +16,10 @@ override_dh_auto_build:
 override_dh_auto_clean:
 	dh_auto_clean
 	find -name "*.pyc" -delete
+
+override_dh_install:
+	dh_install $(foreach file,$(exclude),-X$(file))
+
+override_dh_fixperms:
+	dh_fixperms
+	find debian/ -name Valid.py -exec chmod -x {} +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbsuite.git



More information about the debian-med-commit mailing list