[med-svn] [python-pysam] 02/03: ignore clean target if there is nothing to clean - otherwise build fails on a machine without cython installed

Andreas Tille tille at debian.org
Fri Jul 1 07:59:22 UTC 2016


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

tille pushed a commit to branch ubuntu/trusty-backports
in repository python-pysam.

commit df7282151e30bec620230de4d6de8a1ae4dc63a7
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jun 30 11:33:25 2016 +0200

    ignore clean target if there is nothing to clean - otherwise build fails on a machine without cython installed
---
 debian/changelog | 4 +++-
 debian/rules     | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 62b5139..45b6481 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
-python-pysam (0.9.1+ds-1~~ubuntu14.04~ppa1) trusty; urgency=medium
+python-pysam (0.9.1+ds-1~ubuntu14.04~ppa1) trusty; urgency=medium
 
   * Rebuild for Debian Med PPA.
+  * d/rules: ignore clean target if there is nothing to clean - otherwise
+    build fails on a machine without cython installed
 
  -- Andreas Tille <tille at debian.org>  Thu, 30 Jun 2016 11:17:21 +0200
 
diff --git a/debian/rules b/debian/rules
index 357ac52..26e5beb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,7 +39,7 @@ get-orig-source:
 	uscan --verbose --force-download --repack --compression xz
 
 override_dh_auto_clean:
-	dh_auto_clean
+	if [ -f pysam/chtslib.c ] ; then dh_auto_clean ; fi
 	$(RM) \
 		pysam/config.py \
 		pysam/config.h \

-- 
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