Bug#579461: debian-policy: perl: ExtUtils::MakeMaker and PREFIX
Niko Tyni <ntyni@debian.org> writes:
> I would like to see all the packages use DESTDIR so that the patch
> could be removed. As a first step, lintian was recently changed to warn
> about overriding PREFIX. See #568748 and
> http://lintian.debian.org/tags/debian-rules-makemaker-prefix-is-deprecated.html
[...]
> --- a/perl-policy.sgml
> +++ b/perl-policy.sgml
> @@ -313,7 +313,7 @@ $(MAKE) OPTIMIZE="-O2 -g -Wall"
> </example>
> and this one to install the results into the temporary tree:
> <example>
> -$(MAKE) install PREFIX=$(CURDIR)/debian/<tmp>/usr
> +$(MAKE) install DESTDIR=$(CURDIR)/debian/<tmp>
> </example><footnote>
> <p>Replace <tmp> with the appropriate directory
> (nominally just tmp)</p>
Seconded, belatedly.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: