diff options
Diffstat (limited to 'Buildscr')
| -rw-r--r-- | Buildscr | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |