]> Joshua Wise's Git repositories - tdl.git/blame - mkversion
Sort list by a priority function in 'tdll'.
[tdl.git] / mkversion
CommitLineData
7024e37b
JW
1#!/bin/sh
2
3rm -f version.h
4echo "#ifndef VERSION_H" > version.h
5echo "#define VERSION_H 1" >> version.h
6
7if [ -f version.txt ]; then
8 ver=`cat version.txt`
9 echo "#define PROGRAM_VERSION \"$ver\"" >> version.h
10else
11 echo "#define PROGRAM_VERSION \"DEVELOPMENT\"" >> version.h
12fi
13
14echo "#endif /* VERSION_H */" >> version.h
15
This page took 0.021985 seconds and 4 git commands to generate.