]> Joshua Wise's Git repositories - tdl.git/blob - mkversion
Initial import of tdl-1.6-pre1
[tdl.git] / mkversion
1 #!/bin/sh
2
3 rm -f version.h
4 echo "#ifndef VERSION_H" > version.h
5 echo "#define VERSION_H 1" >> version.h
6
7 if [ -f version.txt ]; then
8         ver=`cat version.txt`
9         echo "#define PROGRAM_VERSION \"$ver\"" >> version.h
10 else
11         echo "#define PROGRAM_VERSION \"DEVELOPMENT\"" >> version.h
12 fi
13
14 echo "#endif /* VERSION_H */" >> version.h
15
This page took 0.024732 seconds and 4 git commands to generate.