r35103 - in /trunk/libmodule-build-perl/debian: changelog patches/remove-makefile-on-distclean-too patches/series
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Sun May 10 02:54:44 UTC 2009
Author: ryan52-guest
Date: Sun May 10 02:54:36 2009
New Revision: 35103
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=35103
Log:
TODO: make sure that a new perl-modules gets released with the M::B::C patch before uploading this version
* remove the Makefile that Module::Build::Compat creates on distclean
too, so that dh_auto_clean removes it
Added:
trunk/libmodule-build-perl/debian/patches/remove-makefile-on-distclean-too
Modified:
trunk/libmodule-build-perl/debian/changelog
trunk/libmodule-build-perl/debian/patches/series
Modified: trunk/libmodule-build-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-build-perl/debian/changelog?rev=35103&op=diff
==============================================================================
--- trunk/libmodule-build-perl/debian/changelog (original)
+++ trunk/libmodule-build-perl/debian/changelog Sun May 10 02:54:36 2009
@@ -1,3 +1,12 @@
+libmodule-build-perl (0.3300-2) UNRELEASED; urgency=low
+
+ TODO: make sure that a new perl-modules gets released with the M::B::C patch before uploading this version
+
+ * remove the Makefile that Module::Build::Compat creates on distclean
+ too, so that dh_auto_clean removes it
+
+ -- Ryan Niebur <ryanryan52 at gmail.com> Sat, 09 May 2009 19:53:50 -0700
+
libmodule-build-perl (0.3300-1) unstable; urgency=low
[ Antonio Radici ]
Added: trunk/libmodule-build-perl/debian/patches/remove-makefile-on-distclean-too
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-build-perl/debian/patches/remove-makefile-on-distclean-too?rev=35103&op=file
==============================================================================
--- trunk/libmodule-build-perl/debian/patches/remove-makefile-on-distclean-too (added)
+++ trunk/libmodule-build-perl/debian/patches/remove-makefile-on-distclean-too Sun May 10 02:54:36 2009
@@ -1,0 +1,23 @@
+dh_auto_clean runs "make distclean", and we want it to remove the
+Makefile, too.
+
+--- a/lib/Module/Build/Compat.pm
++++ b/lib/Module/Build/Compat.pm
+@@ -291,12 +291,16 @@
+ $perl $Build realclean
+ $unlink
+
++distclean : force_do_it
++ $perl $Build distclean
++ $unlink
++
+ force_do_it :
+ @ $noop
+ EOF
+
+ foreach my $action ($class->known_actions) {
+- next if $action =~ /^(all|realclean|force_do_it)$/; # Don't double-define
++ next if $action =~ /^(all|realclean|force_do_it|distclean)$/; # Don't double-define
+ $maketext .= <<"EOF";
+ $action : force_do_it
+ $perl $Build $action
Modified: trunk/libmodule-build-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-build-perl/debian/patches/series?rev=35103&op=diff
==============================================================================
--- trunk/libmodule-build-perl/debian/patches/series (original)
+++ trunk/libmodule-build-perl/debian/patches/series Sun May 10 02:54:36 2009
@@ -1,2 +1,3 @@
+remove-makefile-on-distclean-too
man-ext
man-cookbook
More information about the Pkg-perl-cvs-commits
mailing list