diff options
author | Niels Thykier <niels@thykier.net> | 2019-08-15 09:48:19 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2019-08-15 09:52:55 +0000 |
commit | d3e7d3e0293166ed836ae73073eb5fdd511b8693 (patch) | |
tree | 8b3d089e7c72390ad423563d58b3e6d99cb3941e /dh | |
parent | dcb766ade2cd5e9415ee44fa6725508ae333769d (diff) | |
download | debhelper-d3e7d3e0293166ed836ae73073eb5fdd511b8693.tar.gz |
dh_auto_*: Officially adopt --sourcedir/--builddir
Since the beginning, debhelper has accepted abbrevated command line
parameters. Anyone that has been using (e.g.):
dh $@ --sourcedir=foo
To pass --sourcedir to dh_install has *also* implicitly passed it to
the dh_auto_* helpers. Due to auto-abbrevation being enabled, they
have considered it a short form of --sourcedirectory.
This is trivially confirmable by comparing:
dh_auto_configure --bar foo
Unknown option: bar
dh_auto_configure: unknown option or error during option parsing; aborting
with
dh_auto_configure --sourcedir foo
dh_auto_configure: invalid or non-existing path to the source directory: foo
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ dh - debhelper command sequencer use strict; use warnings; use constant { - 'UNSKIPPABLE_CLI_OPTIONS_BUILD_SYSTEM' => q(-S|--buildsystem|-D|--sourcedirectory|-B|--builddirectory), + 'UNSKIPPABLE_CLI_OPTIONS_BUILD_SYSTEM' => q(-S|--buildsystem|-D|--sourcedir(?:ectory)?|-B|--builddir(?:ectory)?), }; use Debian::Debhelper::Dh_Lib; use Debian::Debhelper::SequencerUtil; |