Make the CREATE_VERSION script create the correct file.
The version tag is now stored in the version_tag.h file and is then copied along with the VERSION into the master version.h file by the Makefile.
This commit is contained in:
parent
50f11390b2
commit
2353f91693
|
|
@ -8,6 +8,6 @@
|
|||
# sh scripts/CREATE_VERSION.sh
|
||||
#
|
||||
|
||||
echo "Building version.h with git describe"
|
||||
echo "Building version_tag.h with git describe"
|
||||
tmp=`git describe | sed -e 's;\(.*\);#define VERSION_TAG "\1";'`
|
||||
echo "$tmp" > version.h
|
||||
echo "$tmp" > version_tag.h
|
||||
|
|
|
|||
Loading…
Reference in New Issue