summaryrefslogtreecommitdiff
path: root/debhelper.pod
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-12-14 22:13:32 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-12-14 22:13:32 -0500
commite90eebf73099da05ffb1d1e2be30a2eccafd153c (patch)
treecffd293f81abaa33eec275e289accec550a5f5df /debhelper.pod
parenta0fc3f57b576cd7c88a698330233df26ff13137f (diff)
Ignore unknown options in DH_OPTIONS. Debhelper will always ignore such options, even when unknown command-line options are converted back to an error. This allows (ab)using DH_OPTIONS to pass command-specific options. (Note that getopt will warn about such unknown options. Eliminating this warning without reimplementing much of Getopt::Long wasn't practical.)
Diffstat (limited to 'debhelper.pod')
-rw-r--r--debhelper.pod11
1 files changed, 7 insertions, 4 deletions
diff --git a/debhelper.pod b/debhelper.pod
index 3313d573..8f9bd1d0 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -477,10 +477,13 @@ Set to 1 to enable no-act mode.
=item DH_OPTIONS
Anything in this variable will be prepended to the command line arguments
-of all debhelper commands. This is useful in some situations, for example,
-if you need to pass -p to all debhelper commands that will be run. One good
-way to set DH_OPTIONS is by using "Target-specific Variable Values" in your
-debian/rules file. See the make documentation for details on doing this.
+of all debhelper commands. Command-specific options will be ignored by
+commands that do not support them.
+
+This is useful in some situations, for example, if you need to pass -p to
+all debhelper commands that will be run. One good way to set DH_OPTIONS is
+by using "Target-specific Variable Values" in your debian/rules file. See
+the make documentation for details on doing this.
=item DH_ALWAYS_EXCLUDE