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