mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 17:25:06 -05:00
First stab at moving build_kit to release versioning based on tla
This commit is contained in:
committed by
Richard P. Curnow
parent
77da5b6144
commit
c928cd857b
15
mkversion
Executable file
15
mkversion
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user