Source: libwx-perl
Version: 1:0.98-1
Severity: wishlist

Hi,

While looking at Bug#630129, I noticed the following:

        $ debian/rules build
        make: `build' is up to date.

That's because the "build" directory confuses make.  Here's a minimal
fix, to illustrate the problem.

Ideally I would want to see a fix that could be applied uniformly to
CPAN modules somehow.  Thoughts?

diff --git i/debian/changelog w/debian/changelog
index 2bc4df9f..17fe3889 100644
--- i/debian/changelog
+++ w/debian/changelog
@@ -1,3 +1,9 @@
+libwx-perl (1:0.98-1.1) local; urgency=low
+
+  * mark debian/rules "build" target phony
+
+ -- Jonathan Nieder <[email protected]>  Wed, 17 Aug 2011 14:57:13 -0500
+
 libwx-perl (1:0.98-1) unstable; urgency=low
 
   * New upstream release
diff --git i/debian/rules w/debian/rules
index fe13d5b9..602454e0 100755
--- i/debian/rules
+++ w/debian/rules
@@ -3,6 +3,10 @@
 %:
        dh $@
 
+.PHONY: build
+build:
+       dh $@
+
 PACKAGE=$(shell dh_listpackages)
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-- 



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to