summaryrefslogtreecommitdiff
path: root/debhelper.pod
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-27 21:16:26 -0400
committerJoey Hess <joey@kitenet.net>2010-05-27 21:16:26 -0400
commitd3cb133cd8399efa737f86067c490a3bf520f3e9 (patch)
treeecdc3281b2aa1ce729c6eaf79cde2ea3e97e2518 /debhelper.pod
parent21b40c8fc12ca4fb026e65d853bbd0f9c08c7bd5 (diff)
In v8 mode, dh expects the sequence to run is always its first parameter.
This avoids ambiguities when parsing options to be passed on to debhelper commands. (See #570039) In the end, the idea of putting the debhelper command options after -- seemed to need too much knowledge about whether an option like --buildsystem is a dh option or a command option. I did consider making no change.. The ambiguities this eliminates are small. But it seemed worth simplifying dh's option parser, and only about 1/6th of calls to dh in the archive don't put the sequence first already. (Docs have shown that as the right thing to do for some time.)
Diffstat (limited to 'debhelper.pod')
-rw-r--r--debhelper.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/debhelper.pod b/debhelper.pod
index 2f44e4d0..91915103 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -526,6 +526,11 @@ Also, libraries in unusual locations that dpkg-gensymbols would not
have processed before will be passed to it, a behavior change that
can cause some packages to fail to build.
+=item -
+
+dh requires the sequence to run be specified as the first parameter, and
+any switches come after it.
+
=back
=back