From cb44f55ec0d9f4c20e841a621d69fb727d832db4 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 30 Dec 2014 13:04:24 +0100 Subject: [PATCH] add option to call autogen.sh --- auto_debuild.py | 1 + 1 file changed, 1 insertion(+) diff --git a/auto_debuild.py b/auto_debuild.py index 0d2f65e..640ac4f 100755 --- a/auto_debuild.py +++ b/auto_debuild.py @@ -138,6 +138,7 @@ def automakeRules(r, config): # and HOST_GNU_TYPE are equal, and if they are not, add a --host parameter) r.dh += ["--buildsystem=autoconf", "--builddirectory="+config.getstr('buildDir')] r.rules['auto_configure'] = [ + (safeCall(*config['autogen']) + " && " if 'autogen' in config else '') + safeCall("mkdir", "-p", buildDir), safeCall("cd", buildDir) + " && " + 'BUILD_TYPE=$$(dpkg-architecture -qDEB_BUILD_GNU_TYPE) && ' + # doing the expansion beforehand ensures that we cancel if it fails -- 2.30.2