X-Git-Url: https://git.ralfj.de/auto-debuild.git/blobdiff_plain/06fb578ee299d667a89fa006798d1ce546792ac5..788304be20de6f447515f899119166f0c22b0c4a:/auto_debuild.py?ds=inline diff --git a/auto_debuild.py b/auto_debuild.py index e28d34d..eb0f1cd 100755 --- a/auto_debuild.py +++ b/auto_debuild.py @@ -185,6 +185,8 @@ def createDebianFiles(config): if dbgPackage: print >>f, "" print >>f, "Package:",binaryName+"-dbg" + print >>f, "Section: debug" + print >>f, "Priority: extra" print >>f, "Architecture:",packageArchitecture writeDependency(f, "Depends", ["${misc:Depends}", binaryName+" (= ${binary:Version})"]) print >>f, "Description:",sourceName,"debug smbols (auto-debuild)" @@ -248,6 +250,7 @@ def createDebianFiles(config): 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): + if not 'auto_configure' in r.rules: r.rules['auto_configure'] = ['dh_auto_configure'] # make sure there is an override r.rules['auto_configure'].append("@"+safeCall('read', '-p', 'Configuration done. Hit "Enter" to build the package. ', 'DUMMY_VAR')) # if we run in dash, we need to tell it which variable to use for the result... # dump it to a file r.write(f)