summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2009-06-13 17:31:23 +0300
committerModestas Vainius <modestas@vainius.eu>2009-06-13 18:37:22 +0300
commitd5e82a031c4aa57091c459d8c05cd278433e7c8b (patch)
tree1eaa233ec715fa88b0ee514bb11e71d613e1e660 /Debian
parent62935f37b81b97baa72efd77a9e913756a60ac2c (diff)
New short switches for buildsystem stuff, drop envvars
* New short switches: -D = --sourcedirectory -B = --builddirectory -S = --buildsystem * Drop DH_AUTO_BUILD* environment variables (reintroduced due to revert). * Adjust test suite. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Dh_Buildsystems.pm15
1 files changed, 3 insertions, 12 deletions
diff --git a/Debian/Debhelper/Dh_Buildsystems.pm b/Debian/Debhelper/Dh_Buildsystems.pm
index ac09dd2..d33b6f2 100644
--- a/Debian/Debhelper/Dh_Buildsystems.pm
+++ b/Debian/Debhelper/Dh_Buildsystems.pm
@@ -108,24 +108,15 @@ sub load_all_buildsystems {
sub buildsystems_init {
my %args=@_;
- # TODO: Not documented in the manual pages yet.
- # Initialize options from environment variables
- if (exists $ENV{DH_AUTO_BUILDDIRECTORY}) {
- $opt_builddir = $ENV{DH_AUTO_BUILDDIRECTORY};
- }
- if (exists $ENV{DH_AUTO_BUILDSYSTEM}) {
- $opt_buildsys = $ENV{DH_AUTO_BUILDSYSTEM};
- }
-
# Available command line options
my %options = (
- "d=s" => \$opt_sourcedir,
+ "D=s" => \$opt_sourcedir,
"sourcedirectory=s" => \$opt_sourcedir,
- "b:s" => \$opt_builddir,
+ "B:s" => \$opt_builddir,
"builddirectory:s" => \$opt_builddir,
- "m=s" => \$opt_buildsys,
+ "S=s" => \$opt_buildsys,
"buildsystem=s" => \$opt_buildsys,
"l" => \$opt_list,