summaryrefslogtreecommitdiff
path: root/Buildscr
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2014-09-24 10:32:49 +0000
committerSimon Tatham <anakin@pobox.com>2014-09-24 10:32:49 +0000
commit539919a45dfb039e61e964c43e3da7d7e64ff444 (patch)
tree603638044e69738754a29cd8fd1ff76216b5daf2 /Buildscr
parentaa2709b2fdd600b9300c52eb534d13672a572239 (diff)
downloadhalibut-539919a45dfb039e61e964c43e3da7d7e64ff444.zip
halibut-539919a45dfb039e61e964c43e3da7d7e64ff444.tar.gz
halibut-539919a45dfb039e61e964c43e3da7d7e64ff444.tar.bz2
halibut-539919a45dfb039e61e964c43e3da7d7e64ff444.tar.xz
Remove the MD5-based manifest file system.
A long time ago, it seemed like a good idea to arrange that binaries of Halibut 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 r10254]
Diffstat (limited to 'Buildscr')
-rw-r--r--Buildscr4
1 files changed, 4 insertions, 0 deletions
diff --git a/Buildscr b/Buildscr
index e90e1e3..d954d1b 100644
--- a/Buildscr
+++ b/Buildscr
@@ -11,6 +11,10 @@ ifneq "$(RELEASE)" "" set Version $(RELEASE)
# use perl to avoid inconsistent behaviour of echo '\v'
in halibut do perl -e 'print "\n\\versionid Halibut version $$ARGV[0]\n"' $(Version) >> doc/manpage.but
+# Write out a version.h that contains the real version number.
+in halibut do echo '/* Generated by automated build script */' > version.h
+in halibut do echo '$#define VERSION "version $(Version)"' >> version.h
+
set Rel
ifneq "$(RELEASE)" "" set Rel RELEASE=$(RELEASE)