Packages using Makefile.PL should use DESTDIR rather than PREFIX
to install into the package staging area. PREFIX only worked due
to a Debian-local patch.
Seconded: Brendan O'Dea <bod@debian.org>
Seconded: Damyan Ivanov <dmn@debian.org>
Closes: #579457
+ * Perl Policy: Recommend DESTDIR instead of PREFIX with Makefile.PL
+ Wording: Niko Tyni <ntyni@debian.org>
+ Seconded: Russ Allbery <rra@debian.org>
+ Seconded: Raphael Hertzog <hertzog@debian.org>
+ Closes: #579461
* Standardize dpkg state wording and bring it in line with dpkg,
renaming Failed-Config to Half-Configured and use uniform
capitalization and punctuation. (Closes: #442134)
</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>
on <package>perlapi-$Config{debian_abi}</package>, falling back
on <tt>$Config{version}</tt> if <tt>$Config{debian_abi}</tt> is not set.
</item>
+<tag>perl</tag>
+ <item>Packages using <file>Makefile.PL</file> should use
+ <tt>DESTDIR</tt> rather than <tt>PREFIX</tt> to install into the package
+ staging area. <tt>PREFIX</tt> only worked due to a Debian-local patch.
+ </item>
</taglist></p>
<sect> Version 3.8.4.0