+ increase minor and build number, rework creation of Version.h

This commit is contained in:
wmayer
2016-04-09 15:15:29 +02:00
parent 19bc5077c8
commit 1d75efea75
5 changed files with 30 additions and 53 deletions

View File

@@ -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)