wiiqt6/tools/makesvnrev.sh
giantpune c621d20e86 * add basic stuff for putting svn rev into the programs for identification.
* only tested on kubuntu with ohneswanzenegger so far

git-svn-id: http://wiiqt.googlecode.com/svn/trunk@97 389f4c8b-5dfe-645f-db0e-df882bc27289
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