path: root/dh_builddeb
diff options
authorJoey Hess <>2009-06-28 21:47:52 -0400
committerJoey Hess <>2009-06-28 21:51:12 -0400
commit8a088bc6cbe25d1a1e99edadd02d880d286dcaca (patch)
treebead9f78123295765195805ba0ca16f1e68234be /dh_builddeb
parentfdf8b4a8b4b4f50c39b6e4266773539bc13d6e56 (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_builddeb')
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_builddeb b/dh_builddeb
index 1de8aae..45713fd 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -45,6 +45,7 @@ package.
init(options => {
"filename=s" => \$dh{FILENAME},
+ "destdir=s" => \$dh{DESTDIR},
# Set the default destination directory.