Dear developers, The attached patch documents the new 'Build-Features: build-arch' control field in dpkg 1.16.1. This is an updated version of a patch already proposed in bug #218893 on 12 Nov 2003. The only change is that Build-Options was renamed to Build-Features by Raphaël Hertzog. Cheers, -- Bill. <ballombe@debian.org> Imagine a large red swirl here.
commit bf07f5e259bcb66f5ee583bfc6d8ac966197f627 Author: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> Date: Wed Jun 8 23:44:12 2011 +0200 Document Build-Features 'build-arch'. diff --git a/policy.sgml b/policy.sgml index bb424ed..921190f 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1971,15 +1971,6 @@ </p> <p> - If one or both of the targets <tt>build-arch</tt> and - <tt>build-indep</tt> are not provided, then invoking - <file>debian/rules</file> with one of the not-provided - targets as arguments should produce a exit status code - of 2. Usually this is provided automatically by make - if the target is missing. - </p> - - <p> The <tt>build-arch</tt> and <tt>build-indep</tt> targets must not do anything that might require root privilege. </p> @@ -2614,6 +2605,7 @@ Package: libc6 <item><qref id="f-Section"><tt>Section</tt></qref> (recommended)</item> <item><qref id="f-Priority"><tt>Priority</tt></qref> (recommended)</item> <item><qref id="sourcebinarydeps"><tt>Build-Depends</tt> et al</qref></item> + <item><qref id="f-Build-Features"><tt>Build-Features</tt></qref> (optional)</item> <item><qref id="f-Standards-Version"><tt>Standards-Version</tt></qref> (recommended)</item> <item><qref id="f-Homepage"><tt>Homepage</tt></qref></item> </list> @@ -3109,6 +3101,19 @@ Package: libc6 </p> </sect1> + <sect1 id="f-Build-Features"> + <heading><tt>Build-Features</tt></heading> + <p> + The syntax is a list of options separated by + commas that are implemented in the build process. + The following options are defined: + <list> + <item> <tt>build-arch</tt> The optional targets "build-arch" + and "build-indep" are implemented by <tt>debian/rules</tt> + as defined in <ref id="debianrules">. </item> + </list> + </p> + </sect1> <sect1 id="f-Version"> <heading><tt>Version</tt></heading>
Attachment:
signature.asc
Description: Digital signature