r13662 - in /trunk/libcurses-perl/debian: changelog rules

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Sun Jan 27 13:56:23 UTC 2008


Author: ntyni
Date: Sun Jan 27 13:56:23 2008
New Revision: 13662

URL: http://svn.debian.org/wsvn/?sc=1&rev=13662
Log:
* Fix the 'clean' target, it didn't work when Makefile.PL got unpatched.

Modified:
    trunk/libcurses-perl/debian/changelog
    trunk/libcurses-perl/debian/rules

Modified: trunk/libcurses-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcurses-perl/debian/changelog?rev=13662&op=diff
==============================================================================
--- trunk/libcurses-perl/debian/changelog (original)
+++ trunk/libcurses-perl/debian/changelog Sun Jan 27 13:56:23 2008
@@ -5,6 +5,7 @@
 
   [ Niko Tyni ]
   * Enable FORMS support.
+  * Fix the 'clean' target, it didn't work when Makefile.PL got unpatched.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 09 Jan 2008 21:17:10 +0100
 

Modified: trunk/libcurses-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcurses-perl/debian/rules?rev=13662&op=diff
==============================================================================
--- trunk/libcurses-perl/debian/rules (original)
+++ trunk/libcurses-perl/debian/rules Sun Jan 27 13:56:23 2008
@@ -29,7 +29,8 @@
 	dh_testdir
 	dh_testroot
 
-	[ ! -f Makefile ] || $(MAKE) distclean
+	# 'unpatch' modifies Makefile.PL, rendering Makefile out of date
+	if [ -f Makefile ]; then touch Makefile && $(MAKE) distclean; fi
 
 install:
 	dh_testdir




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