From 539919a45dfb039e61e964c43e3da7d7e64ff444 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 24 Sep 2014 10:32:49 +0000 Subject: 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] --- Buildscr | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Buildscr') 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) -- cgit v1.1