First stab at moving build_kit to release versioning based on tla

This commit is contained in:
Richard Curnow
2005-07-19 22:04:01 +00:00
committed by Richard P. Curnow
parent 77da5b6144
commit c928cd857b
3 changed files with 32 additions and 2 deletions

15
mkversion Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
rm -f version.h
echo "#ifndef VERSION_H" > version.h
echo "#define VERSION_H 1" >> version.h
if [ -f version.txt ]; then
ver=`cat version.txt`
echo "#define PROGRAM_VERSION_STRING \"$ver\"" >> version.h
else
echo "#define PROGRAM_VERSION_STRING \"DEVELOPMENT\"" >> version.h
fi
echo "#endif /* VERSION_H */" >> version.h