wiiqt/tools/makesvnrev.sh
giantpune 7f3c6d1d25 * add basic stuff for putting svn rev into the programs for identification.
* only tested on kubuntu with ohneswanzenegger so far
2011-05-28 06:50:16 +00:00

7 lines
107 B
Bash
Executable File

REV=`svnversion -n .`
echo $REV
cat > ./svnrev.h <<EOF
#define SVN_REV $REV
#define SVN_REV_STR "$REV"
EOF