|author||Joey Hess <email@example.com>||2008-12-14 22:13:32 -0500|
|committer||Joey Hess <firstname.lastname@example.org>||2008-12-14 22:13:32 -0500|
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')
1 files changed, 7 insertions, 4 deletions
diff --git a/debhelper.pod b/debhelper.pod
index 3313d57..8f9bd1d 100644
@@ -477,10 +477,13 @@ Set to 1 to enable no-act mode.
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.