[med-svn] [python-pysam] 10/13: Fix handling of configuration headers generated at build time

Afif Elghraoui afif at moszumanska.debian.org
Mon Jun 20 01:53:29 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 298ee9a5fb54c0cf012a2298f60e4334d4090de4
Author: Afif Elghraoui <afif at debian.org>
Date:   Sun Jun 19 18:11:53 2016 -0700

    Fix handling of configuration headers generated at build time
---
 debian/rules | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 877f34b..c0e5f84 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,10 +21,6 @@ clean: clean-tests
 %:
 	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
 
@@ -45,7 +41,8 @@ override_dh_auto_clean:
 	dh_auto_clean
 	$(RM) \
 		pysam/config.py \
-		pysam/config.h
+		pysam/config.h \
+		samtools/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