summaryrefslogtreecommitdiff
path: root/debhelper.pod
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-02-12 13:13:02 -0400
committerJoey Hess <joey@kitenet.net>2014-02-12 13:13:02 -0400
commitf16d0915b10ff9ef0b0826ae896aaccd6f3ad84f (patch)
tree4ecaaf1a12ecb5e02f834ae601a6b06590b0e868 /debhelper.pod
parent3ae6a7452800e1c5be0351f45d9911a23ab103f1 (diff)
Initial implementation of support for Build-Profiles fields. Thanks, Daniel Schepler.
Diffstat (limited to 'debhelper.pod')
-rw-r--r--debhelper.pod11
1 files changed, 10 insertions, 1 deletions
diff --git a/debhelper.pod b/debhelper.pod
index 216360b2..ca22cc41 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -566,7 +566,16 @@ To facilitate this, as well as give you more control over which packages
are acted on by debhelper programs, all debhelper programs accept the
B<-a>, B<-i>, B<-p>, and B<-s> parameters. These parameters are cumulative.
If none are given, debhelper programs default to acting on all packages listed
-in the control file.
+in the control file, with the exceptions below.
+
+First, any package whose B<Architecture> field in B<debian/control> does not
+match the build architecture will be excluded
+(L<Debian Policy, section 5.6.8>).
+
+Also, some additional packages may be excluded based on the contents of the
+B<DEB_BUILD_PROFILES> environment variable and B<Build-Profiles> fields in
+binary package stanzas in B<debian/control>, according to the draft policy at
+L<https://wiki.debian.org/BuildProfileSpec>.
=head2 Automatic generation of Debian install scripts