Package: perl-modules
Severity: normal
Tags: patch
Version: 5.10.0-22

Hi,

There's been a recent discussion[1] on the debian-perl list about
whether Build.PL should be used by the dh_auto_* commands instead of
Makefile.PL when both exist. This is because sometimes the Makefile.PL
is just a "passthru" to the Build.PL, which causes a couple of bugs.

One of the bugs is that the Makefile target that dh_auto_clean calls
(distclean) doesn't remove the Makefile, only the "normal"
Module::Build files, causing subsequent runs of "make -f debian/rules
clean" and "make -f debian/rules build" to fail. The "realclean"
target of the generated Makefile already does this, however
dh_auto_clean prefers the "distclean" target.

The attached patch fixes this problem by making the distclean target
remove the Makefile as well. libmodule-build-perl will be uploaded
with this patch once perl-modules is patched.

Thanks,
Ryan

1: http://lists.debian.org/debian-perl/2009/05/msg00017.html

-- 
_________________________
Ryan Niebur
ryanrya...@gmail.com

Attachment: signature.asc
Description: Digital signature

Reply via email to