Remove other autogenerated files to build twice in a row
authorAndreas Tille <tille@debian.org>
Thu, 4 May 2017 10:57:10 +0000 (12:57 +0200)
committerAndreas Tille <tille@debian.org>
Thu, 4 May 2017 10:57:10 +0000 (12:57 +0200)
debian/changelog
debian/rules

index 79cb8d46a60d5ee71c53533fc99b0cc2e4d0911b..d817e4d5481905e01109c5a3ee41c1361d5de6f2 100644 (file)
@@ -1,6 +1,8 @@
 python-pysam (0.10.0+ds-2) UNRELEASED; urgency=medium
 
-  * Add some files that need to be removed after running tests
+  * d/rules:
+     - Add some files that need to be removed after running tests
+     - Remove other autogenerated files to build twice in a row
 
  -- Andreas Tille <tille@debian.org>  Thu, 04 May 2017 12:50:22 +0200
 
index a2c8372cc5c9d9aa81b5e441a2ca863b071ed73c..3db207d78573bdd70bc19f2f0cf8ba36fd039f49 100755 (executable)
@@ -42,7 +42,9 @@ override_dh_auto_clean:
        $(RM) \
                pysam/config.py \
                pysam/config.h \
+               pysam/lib*.c \
                samtools/config.h
+       rm -rf pysam.egg-info
 
 .PHONY: pysam_data.% cbcf_data.%
 cbcf_data.%: