r15778 - in /trunk/libapache2-mod-perl2/debian: changelog rules

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Wed Feb 27 18:06:55 UTC 2008


Author: ntyni
Date: Wed Feb 27 18:06:54 2008
New Revision: 15778

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

Modified:
    trunk/libapache2-mod-perl2/debian/changelog
    trunk/libapache2-mod-perl2/debian/rules

Modified: trunk/libapache2-mod-perl2/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libapache2-mod-perl2/debian/changelog?rev=15778&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/changelog (original)
+++ trunk/libapache2-mod-perl2/debian/changelog Wed Feb 27 18:06:54 2008
@@ -27,6 +27,7 @@
 
   [ Niko Tyni ]
   * Don't ship an empty /usr/bin directory.
+  * Fix the 'clean' target, broken when Makefile.PL got unpatched.
 
  -- Frank Lichtenheld <djpig at debian.org>  Tue, 30 Oct 2007 09:57:01 +0100
 

Modified: trunk/libapache2-mod-perl2/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libapache2-mod-perl2/debian/rules?rev=15778&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/rules (original)
+++ trunk/libapache2-mod-perl2/debian/rules Wed Feb 27 18:06:54 2008
@@ -55,7 +55,9 @@
 	dh_clean build-stamp install-stamp
 
 	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
+
+	# unpatch modifies Makefile.PL, rendering Makefile out of date
+	if [ -f Makefile ] ; then touch Makefile && $(MAKE) realclean ; fi
 
 	dh_clean .mypacklist Apache-Test/Makefile.old Apache-Test/t/REPORT \
 		 Apache-Test/t/cgi-bin/cookies.pl \




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