+ if dbgPackage:
+ print >>f, ""
+ print >>f, "Package:",binaryName+"-dbg"
+ print >>f, "Architecture:",packageArchitecture
+ writeDependency(f, "Depends", ["${misc:Depends}", binaryName+" (= ${binary:Version})"])
+ print >>f, "Description:",sourceName,"debug smbols (auto-debuild)"
+ print >>f, " Package containing debug symbols for "+sourceName+", auto-generated by auto-debuild."
+ files.append(os.path.join(debDir, "%s-dbg_%s_%s.deb" % (binaryName, version, arch)))
+ # install file
+ with open('debian/'+binaryName+'.install', 'w') as f:
+ for line in config.get('binaryInstall', []):
+ if line.startswith('/'): # a file from within the package, not from the source tree
+ line = 'debian/'+binaryName+line
+ print >>f, line