From: Ralf Jung Date: Thu, 2 Aug 2012 14:06:29 +0000 (+0200) Subject: add option to wait after configuration X-Git-Url: https://git.ralfj.de/auto-debuild.git/commitdiff_plain/7981315d665d8d5cff93b7b402b80ea538a72471?hp=7683491ebe972088c3a3147f1766e214f7753b6a add option to wait after configuration --- diff --git a/auto_debuild.py b/auto_debuild.py index 8ef290b..4f46da1 100755 --- 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 + # 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