This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1c741c507eadcdfc6dbb43610d3aab1387a3122e commit 1c741c507eadcdfc6dbb43610d3aab1387a3122e Author: Guillem Jover <guil...@debian.org> AuthorDate: Tue Jul 24 00:47:01 2018 +0200 dpkg-buildpackage: Add --build equivalents for short build type options This makes the --help output clearer, and matches the man page. --- debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index 71ccbbc37..23d0c626b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -142,6 +142,8 @@ dpkg (1.19.1) UNRELEASED; urgency=medium - Clarify PIE build flag feature semantics. Closes: #900088 - Clarify dpkg-buildpackage pre and post-clean options and their default state. + - Add --build option equivalents for dpkg-buildpackage short build type + options in --help output. * Code internals: - Do not use stringy eval to define different sub implementations, just assign an anonymous sub to the typeglob. diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index 9bc8c9d28..1df9da44e 100755 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -63,13 +63,13 @@ sub usage { 'Options: --build=<type>[,...] specify the build <type>: full, source, binary, any, all (default is \'full\'). - -F normal full build (source and binary; default). - -g source and arch-indep build. - -G source and arch-specific build. - -b binary-only, no source files. - -B binary-only, only arch-specific files. - -A binary-only, only arch-indep files. - -S source-only, no binary files. + -F, --build=full normal full build (source and binary; default). + -g, --build=source,all source and arch-indep build. + -G, --build=source,any source and arch-specific build. + -b, --build=binary binary-only, no source files. + -B, --build=any binary-only, only arch-specific files. + -A, --build=all binary-only, only arch-indep files. + -S, --build=source source-only, no binary files. -nc, --no-pre-clean do not pre clean source tree (implies -b). --pre-clean pre clean source tree (default). --no-post-clean do not post clean source tree (default). -- Dpkg.Org's dpkg