aboutsummaryrefslogtreecommitdiff
path: root/Buildscr
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2014-09-24 10:33:22 +0000
committerSimon Tatham <anakin@pobox.com>2014-09-24 10:33:22 +0000
commit64ceaf03b302d991f7d4fa5cf207f556d66f5352 (patch)
treee190bbfae407cddd2e950aa2113bc0222aad1a8e /Buildscr
parent2ebbdbf2a567c73d75af4f0e04f4f42bfe6d3530 (diff)
downloadpuzzles-64ceaf03b302d991f7d4fa5cf207f556d66f5352.zip
puzzles-64ceaf03b302d991f7d4fa5cf207f556d66f5352.tar.gz
puzzles-64ceaf03b302d991f7d4fa5cf207f556d66f5352.tar.bz2
puzzles-64ceaf03b302d991f7d4fa5cf207f556d66f5352.tar.xz
Remove the MD5-based manifest file system.
A long time ago, it seemed like a good idea to arrange that binaries of my puzzles would automatically cease to identify themselves as a particular upstream version number if any changes were made to the source code, so that if someone made a local tweak and distributed the result then I wouldn't get blamed for the results. Since then I've decided the whole idea is more trouble than it's worth, so I'm retiring it completely. [originally from svn r10264]
Diffstat (limited to 'Buildscr')
-rw-r--r--Buildscr4
1 files changed, 4 insertions, 0 deletions
diff --git a/Buildscr b/Buildscr
index 947102d..a677531 100644
--- a/Buildscr
+++ b/Buildscr
@@ -14,6 +14,10 @@ in puzzles do rm configure.ac~
in puzzles do perl -e 'print "\n\\versionid Simon Tatham'\''s Portable Puzzle Collection, version $$ARGV[0]\n"' $(Version) >> puzzles.but
in puzzles do perl -e 'print "\n\\versionid Simon Tatham'\''s Portable Puzzle Collection, version $$ARGV[0]\n"' $(Version) >> devel.but
+# 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
+
# First build some local binaries, to run the icon build.
in puzzles do perl mkfiles.pl -U
in puzzles do make