[SCM] Debian packaging of libwx-perl branch, master, updated. debian/0.9903-1-11-g3d295ae

gregor herrmann gregoa at debian.org
Thu Mar 1 21:34:12 UTC 2012


The following commit has been merged in the master branch:
commit 6234d975c84fbef5ae33df91d8a7117d1e036308
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Mar 1 22:14:53 2012 +0100

    Simplify debian/rules a bit since lintian bug #638411 is fixed.

diff --git a/debian/rules b/debian/rules
index 8bc4863..820844b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,13 @@
 #!/usr/bin/make -f
 
-DEBIAN_TARGETS := clean binary binary-arch binary-indep build build-arch build-indep
+PACKAGE=$(shell dh_listpackages)
+TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-.PHONY: $(DEBIAN_TARGETS)
+DEBIAN_TARGETS := clean binary binary-arch binary-indep build build-arch build-indep
 
-# the list is put verbatim here as a workaround for lintian bug #638411
-# lintian fails to interpolate the variable and reports missing required
-# targets, leading to an automated reject
-clean binary binary-arch binary-indep build build-arch build-indep:
+$(DEBIAN_TARGETS):
 	dh $@ --parallel
 
-PACKAGE=$(shell dh_listpackages)
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
 override_dh_auto_test:
 	xvfb-run -a dh_auto_test --max-parallel=1
 
@@ -29,3 +24,5 @@ override_dh_installexamples:
 	dh_installexamples
 	chmod 0644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/README.txt
 	find $(TMP)/usr/share/doc/$(PACKAGE)/examples -name '*.pl' -exec chmod 0755 {} \;
+
+.PHONY: $(DEBIAN_TARGETS)

-- 
Debian packaging of libwx-perl



More information about the Pkg-perl-cvs-commits mailing list