summaryrefslogtreecommitdiff
path: root/debhelper.pod
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-06-14 17:22:34 -0400
committerJoey Hess <joey@kitenet.net>2011-06-14 17:24:27 -0400
commite8c799129672d5b7dbac58a06fadd175cffaa7ed (patch)
tree646fc7c78883971fbddb6aaa8d05bd4f4317248f /debhelper.pod
parentcbe68c8579e8abc03aeff939306b2d34cb1fe8ac (diff)
dpkg-buildflags support
* dh_auto_build, dh_auto_configure, dh: Set environment variables listed by dpkg-buildflags --export. Any environment variables that are already set to other values will not be changed. Closes: #544844 * Also, support DEB_BUILD_OPTIONS=noopt, by changing -O2 to -O0.
Diffstat (limited to 'debhelper.pod')
-rw-r--r--debhelper.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/debhelper.pod b/debhelper.pod
index d61cc84d..c076acf0 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -191,6 +191,10 @@ in ALL packages acted on, not just the first.
=head1 BUILD SYSTEM OPTIONS
+All of the B<dh_auto_>I<*> debhelper programs sets environment variables
+listed by B<dpkg-buildflags>, unless they are already set. They
+support DEB_BUILD_OPTIONS=noopt too.
+
The following command line options are supported by all of the B<dh_auto_>I<*>
debhelper programs. These programs support a variety of build systems,
and normally heuristically determine which to use, and how to use them.