chiark / gitweb /
New puzzle: 'Flood'.
[sgt-puzzles.git] / Buildscr
index a677531453181cfa688d68e66d504bcab4f047de..e3997a061129078fc975f25202d03e1faea0262a 100644 (file)
--- a/Buildscr
+++ b/Buildscr
@@ -18,6 +18,12 @@ in puzzles do perl -e 'print "\n\\versionid Simon Tatham'\''s Portable Puzzle Co
 in puzzles do echo '/* Generated by automated build script */' > version.h
 in puzzles do echo '$#define VER "Version $(Version)"' >> 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
+# need XML escaping, but frankly, if they ever do then I should fix
+# them!)
+in puzzles do perl -i -pe 's/Unidentified build/$(Version)/' osx-info.plist
+
 # First build some local binaries, to run the icon build.
 in puzzles do perl mkfiles.pl -U
 in puzzles do make