diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-06-28 21:47:52 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-06-28 21:51:12 -0400 |
commit | 8a088bc6cbe25d1a1e99edadd02d880d286dcaca (patch) | |
tree | bead9f78123295765195805ba0ca16f1e68234be /dh_movefiles | |
parent | fdf8b4a8b4b4f50c39b6e4266773539bc13d6e56 (diff) |
clean up --sourcedir/--sourcedirectory conflict
* Move two move command-specific options to only be accepted by the commands
that use them. The options are:
--sourcedir, --destdir
* If any third-party debhelper commands use either of the above options,
they will be broken, and need to be changed to pass options to init().
This was done because of a conflict with the --sourcedirectory options
used by dh_auto_*. I originally wanted to make dh_auto_* and dh_install
both use --sourcedir, but that didn't work out.
Diffstat (limited to 'dh_movefiles')
-rwxr-xr-x | dh_movefiles | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dh_movefiles b/dh_movefiles index 72cbb0ba..5e1db0fc 100755 --- a/dh_movefiles +++ b/dh_movefiles @@ -67,7 +67,9 @@ deleted by dh_clean later. =cut -init(); +init(options => { + "sourcedir=s" => \$dh{SOURCEDIR}, +}); my $ret=0; |