projects
/
auto-debuild.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add option to wait after configuration
[auto-debuild.git]
/
auto_debuild.py
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