Bug#83977: PROPOSED] include Perl Policy
Update to include information about dh_perl. Current version is at
http://people.debian.org/~bod/perl-policy/perl-policy.sgml
--- perl-policy.sgml.orig Tue Feb 13 18:17:18 2001
+++ perl-policy.sgml Tue Feb 13 20:10:06 2001
@@ -12,7 +12,7 @@
<name>Brendan O'Dea</name>
<email>bod@debian.org</email>
</author>
- <version>version 1.14</version>
+ <version>version 1.15</version>
<abstract>
This document describes the packaging of Perl within the Debian
@@ -313,6 +313,23 @@
of the <package/perl/ package used to build the module, and
must additionally depend on the expansion of
<package/perlapi-$Config{version}/.
+ </p>
+ </sect1>
+
+ <sect1 id="dh_perl">
+ <heading>Automating Perl Dependencies</heading>
+ <p>
+ Rather than hard-coding the dependencies into the control
+ file, using a substitution such as <tt/${perl:Depends}/ is
+ suggested. This allows the dependencies to be determined
+ as build time and written to the <file/substvars/ file in
+ the form <tt/perl:Depends=<var/deps//.
+ </p>
+ <p>
+ Packages built with <prgn/debhelper/ may use <manref
+ name="dh_perl" section=1> to generate this substitution
+ automatically. Requires a <tt/Build-Depends/ on
+ <tt/debhelper (>= 3.0.5)/.
</p>
</sect1>
</sect>
Regards,
--
Brendan O'Dea bod@compusol.com.au
Compusol Pty. Limited (NSW, Australia) +61 2 9810 3633
Reply to: