[med-svn] r15610 - trunk/packages/igstk/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Wed Dec 25 22:26:24 UTC 2013


Author: tille
Date: 2013-12-25 22:26:24 +0000 (Wed, 25 Dec 2013)
New Revision: 15610

Modified:
   trunk/packages/igstk/trunk/debian/changelog
   trunk/packages/igstk/trunk/debian/rules
Log:
Do not try to install examples for arch only builds


Modified: trunk/packages/igstk/trunk/debian/changelog
===================================================================
--- trunk/packages/igstk/trunk/debian/changelog	2013-12-25 17:34:14 UTC (rev 15609)
+++ trunk/packages/igstk/trunk/debian/changelog	2013-12-25 22:26:24 UTC (rev 15610)
@@ -1,3 +1,10 @@
+igstk (4.4.0-6) unstable; urgency=medium
+
+  * debian/rules: Do not try to install examples for arch only builds
+    Closes: #733064
+
+ -- Andreas Tille <tille at debian.org>  Wed, 25 Dec 2013 15:33:41 +0100
+
 igstk (4.4.0-5) unstable; urgency=medium
 
   * *really* drop libgdcm2-dev Build-Dependency

Modified: trunk/packages/igstk/trunk/debian/rules
===================================================================
--- trunk/packages/igstk/trunk/debian/rules	2013-12-25 17:34:14 UTC (rev 15609)
+++ trunk/packages/igstk/trunk/debian/rules	2013-12-25 22:26:24 UTC (rev 15610)
@@ -66,11 +66,12 @@
 	#
 	dh_install -pigstk-doc      $(DEB_BUILDDIR)/Utilities/Doxygen/doc/html       usr/share/doc/igstk-doc
 
-override_dh_installexamples:
+override_dh_installexamples-indep:
 	dh_installexamples -pigstk-examples Examples/*
 	# remove executable file mode bit
+	[ -d debian/igstk-examples ] && \
 	find debian/igstk-examples/usr/share/doc/igstk-examples/examples \
-            -type f -print0 | xargs -0 chmod 644
+            -type f -exec chmod 644 \{\} \;
 
 override_dh_auto_test:
 	# perform tests ('-' ignores return values)




More information about the debian-med-commit mailing list