projects
/
auto-debuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a22fc44
)
add option to call autogen.sh
author
Ralf Jung
<post@ralfj.de>
Tue, 30 Dec 2014 12:04:24 +0000
(13:04 +0100)
committer
Ralf Jung
<post@ralfj.de>
Tue, 30 Dec 2014 12:04:24 +0000
(13:04 +0100)
auto_debuild.py
patch
|
blob
|
history
diff --git
a/auto_debuild.py
b/auto_debuild.py
index 0d2f65ebc6b1530bd9c03a7b7cf5b2cb6f32a400..640ac4fd67aaa36b28a9d671c5a0f0be6f20d69b 100755
(executable)
--- 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'] = [
# 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
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