Bug#638396: libwx-perl: runs testsuite as root
Damyan Ivanov
dmn at debian.org
Fri Aug 19 05:08:14 UTC 2011
-=| Jonathan Nieder, Thu, Aug 18, 2011 at 08:14:25PM -0500 |=-
> 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.
Thanks. I guess that would have avoided the xvfb/fakeroot problems.
> Ideally I would want to see a fix that could be applied uniformly to
> CPAN modules somehow. Thoughts?
s/CPAN modules/all Debian packages/ :)
Maybe we can change dh-make-perl to declare the top-level targets in
debian/rules as phony. something like:
#!/usr/bin/make -f
DEBIAN_TARGETS := clean binary binary-arch binary-indep build
.PHONY: $(DEBIAN_TARGETS)
$(DEBIAN_TARGETS):
dh $@
(this is what I used for libwx-perl anyway)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110819/b5d6e757/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list