Maarten ter Huurne
|
5a65b462de
In the "Usage:" help line, explicitly suggest "python3"
|
5 years ago |
Maarten ter Huurne
|
7e0f3f15fd
Convert build scripts to Python 3
|
5 years ago |
Maarten ter Huurne
|
f623713913
Use print function syntax
|
5 years ago |
wouter
|
d089095d55
Various text-processing stuff
|
11 years ago |
Wouter Vermaelen
|
b45f747861
Replaced static top level std::string with const char*
|
12 years ago |
Maarten ter Huurne
|
f580db9924
Be explicit about how to handle undefined revision numbers: a dummy string ("unknown") or a dummy number (1).
|
14 years ago |
Maarten ter Huurne
|
18c964647b
Indent using tabs only.
|
16 years ago |
Max Feingold
|
13c4f7446c
Generate config headers automatically in VC++ build
|
16 years ago |
Maarten ter Huurne
|
be5d9decfb
Removed unused import.
|
16 years ago |
Maarten ter Huurne
|
8d69239d76
Only rewrite version header if the contents have changed.
|
16 years ago |
Maarten ter Huurne
|
27c57c7cc5
Split off "version" module from "version2code": the former is a module that can be imported by any script that wants to know version numbers, while the latter is a script to generate the version include file.
|
16 years ago |
Maarten ter Huurne
|
d8dff69da8
Prepared for using actual revision number instead of ChangeLog revision, where possible. This cannot be finished yet, see TODO in "version2code.py". Also made ID extraction fall back on "unknown" instead of producing an error; this is useful when the ChangeLog contains just "$Id$" because the client (git-svn) does not do keyword substitution.
|
16 years ago |
Maarten ter Huurne
|
8868c6fc6a
Inlined extractVersion(), to make this script consistent with buildinfo2code.py.
|
16 years ago |
Maarten ter Huurne
|
103e96fff7
Put common code from "buildinfo2code" and "version2code" in new module "makeutils".
|
16 years ago |
Maarten ter Huurne
|
7c7b311d2f
Create "Version.ii" using a Python script instead of shell utils.
|
16 years ago |