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:
7683491
)
add option to wait after configuration
author
Ralf Jung
<post@ralfj.de>
Thu, 2 Aug 2012 14:06:29 +0000
(16:06 +0200)
committer
Ralf Jung
<post@ralfj.de>
Thu, 2 Aug 2012 14:06:29 +0000
(16:06 +0200)
auto_debuild.py
patch
|
blob
|
history
diff --git
a/auto_debuild.py
b/auto_debuild.py
index 8ef290ba8f2e5b253475979d6852722ee98a9608..4f46da1996024a414591d10c221e6133c00ea972 100755
(executable)
--- a/
auto_debuild.py
+++ b/
auto_debuild.py
@@
-182,6
+182,9
@@
def createDebianFiles(config):
if dbgPackage:
r.rules['strip'] = [safeCall(['dh_strip', '--dbg-package='+binaryName+"-dbg"])] # put debug files in appropriate package
r.rules['installdocs'] = [safeCall(['dh_installdocs', '--link-doc='+binaryName])] # make the doc folder of the dbg package a symlink
if dbgPackage:
r.rules['strip'] = [safeCall(['dh_strip', '--dbg-package='+binaryName+"-dbg"])] # put debug files in appropriate package
r.rules['installdocs'] = [safeCall(['dh_installdocs', '--link-doc='+binaryName])] # make the doc folder of the dbg package a symlink
+ # wait after configuration?
+ if config.get('waitAfterConfig', False):
+ r.rules['auto_configure'].append(safeCall(['read', '-p', 'Configuration done. Hit "Enter" to build the package.']))
# dump it to a file
r.write(f)
mode = os.stat('debian/rules').st_mode
# dump it to a file
r.write(f)
mode = os.stat('debian/rules').st_mode