projects
/
auto-debuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ceb61b3
)
some changes I did a long time ago
author
Ralf Jung
<post@ralfj.de>
Fri, 22 Dec 2023 17:04:12 +0000
(18:04 +0100)
committer
Ralf Jung
<post@ralfj.de>
Fri, 22 Dec 2023 17:04:12 +0000
(18:04 +0100)
auto_debuild.py
patch
|
blob
|
history
diff --git
a/auto_debuild.py
b/auto_debuild.py
index 5de381e86b6f36d3497ea2e8cfef45c95eabeb5c..f7ed9e0714401c561233a202db30296bd4498d21 100755
(executable)
--- a/
auto_debuild.py
+++ b/
auto_debuild.py
@@
-103,8
+103,6
@@
class RulesFile:
def write(self, f):
print("#!/usr/bin/make -f", file=f)
print(file=f)
def write(self, f):
print("#!/usr/bin/make -f", file=f)
print(file=f)
- print(".PHONY: build", file=f) # there may be a directory called "build"
- print(file=f)
print("%:", file=f)
# write proper dh call
dh = self.dh
print("%:", file=f)
# write proper dh call
dh = self.dh
@@
-207,7
+205,7
@@
def createDebianFiles(config):
buildSystem = buildSystems[config.getstr('buildSystem')] # get the data immediately
version = config.getstr('version') # version name excluding epoch (used for filenames)
fullVersion = str(config.getint('epoch'))+':'+version if 'epoch' in config else version # version name including epoch
buildSystem = buildSystems[config.getstr('buildSystem')] # get the data immediately
version = config.getstr('version') # version name excluding epoch (used for filenames)
fullVersion = str(config.getint('epoch'))+':'+version if 'epoch' in config else version # version name including epoch
- parallelJobs = config.getint('parallelJobs', multiprocessing.cpu_count()
+1
)
+ parallelJobs = config.getint('parallelJobs', multiprocessing.cpu_count())
packageArchitecture = config.getstr('architecture', 'any')
withPython2 = config.getbool('withPython2', False)
withSIP = config.getbool('withSIP', False)
packageArchitecture = config.getstr('architecture', 'any')
withPython2 = config.getbool('withPython2', False)
withSIP = config.getbool('withSIP', False)