+ increase minor and build number, rework creation of Version.h
This commit is contained in:
@@ -377,9 +377,9 @@ def main():
|
||||
for i in vcs:
|
||||
if i.extractInfo(srcdir):
|
||||
# Open the template file and the version file
|
||||
file = open("%s/src/Build/Version.h.in" % (srcdir))
|
||||
lines = file.readlines()
|
||||
file.close()
|
||||
inp = open("%s/src/Build/Version.h.in" % (bindir))
|
||||
lines = inp.readlines()
|
||||
inp.close()
|
||||
lines = i.writeVersion(lines)
|
||||
out = open("%s/src/Build/Version.h" % (bindir),"w");
|
||||
out.writelines(lines)
|
||||
|
||||
Reference in New Issue
Block a user