[med-svn] [python-pysam] 15/21: Update d/rules to allow package to build

Afif Elghraoui afif at moszumanska.debian.org
Sun Mar 6 07:57:40 UTC 2016


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

afif pushed a commit to branch master
in repository python-pysam.

commit 684ab0bec003b1cd67a80438558274ad47c2a0f9
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sat Mar 5 19:45:28 2016 -0800

    Update d/rules to allow package to build
---
 debian/rules | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 5979df8..f2c8a22 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,10 @@ clean: clean-tests
 %:
 	LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
 
+override_dh_auto_configure:
+	dh_auto_configure
+	touch samtools/config.h
+
 override_dh_install: clean-tests
 	dh_install -Xtest.gtf.gz
 
@@ -37,7 +41,9 @@ get-orig-source:
 
 override_dh_auto_clean:
 	dh_auto_clean
-	$(RM) pysam/config.py
+	$(RM) \
+		pysam/config.py \
+		pysam/config.h
 
 clean-tests:
 	$(MAKE) -C tests/pysam_data clean

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



More information about the debian-med-commit mailing list