diff options
Diffstat (limited to 'Buildscr')
| -rw-r--r-- | Buildscr | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ in puzzles do perl -e 'print "\n\\versionid Simon Tatham'\''s Portable Puzzle Co # Write out a version.h that contains the real version number. in puzzles do echo '/* Generated by automated build script */' > version.h in puzzles do echo '$#define VER "Version $(Version)"' >> version.h +in puzzles do perl -e '$$ARGV[0] =~ m{(....)(..)(..)} or die; print "$#define VERSIONINFO_BINARY_VERSION 1,$$1,$$2,$$3\n"' $(!builddate) >> version.h # And do the same substitution in the OS X metadata. (This is a bit # icky in principle because it presumes that my version numbers don't |