[med-svn] r4007 - trunk/packages/bioperl/trunk/debian

Charles Plessy plessy at alioth.debian.org
Tue Sep 22 08:23:20 UTC 2009


Author: plessy
Date: 2009-09-22 08:23:20 +0000 (Tue, 22 Sep 2009)
New Revision: 4007

Modified:
   trunk/packages/bioperl/trunk/debian/rules
Log:
Use DEB_MAINTAINER_MODE to run the network tests.


Modified: trunk/packages/bioperl/trunk/debian/rules
===================================================================
--- trunk/packages/bioperl/trunk/debian/rules	2009-09-21 07:32:45 UTC (rev 4006)
+++ trunk/packages/bioperl/trunk/debian/rules	2009-09-22 08:23:20 UTC (rev 4007)
@@ -1,9 +1,13 @@
 #!/usr/bin/make -f
 
+ifneq (,$(DEB_MAINTAINER_MODE))
+NETWORK = --network
+endif
+
 build: build-stamp
 build-stamp:
 	dh_testdir
-	perl Build.PL < /dev/null # non-interactive, uses defaults
+	perl Build.PL $(NETWORK) < /dev/null # non-interactive, uses defaults
 	./Build
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	./Build test




More information about the debian-med-commit mailing list