]>
Commit | Line | Data |
---|---|---|
7024e37b JW |
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 |