annotate version.sh @ 18778:8491f306b52f

intercept VFCTRL_FLIP_PAGE if needed
author michael
date Wed, 21 Jun 2006 20:52:07 +0000
parents 04ed79acda15
children b5777da79b53
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
420
980bafac238f write cvs date+version into version.h
arpi_esp
parents:
diff changeset
1 #!/bin/sh
980bafac238f write cvs date+version into version.h
arpi_esp
parents:
diff changeset
2
18759
04ed79acda15 simplify
diego
parents: 18624
diff changeset
3 revision=r`grep revision .svn/entries | cut -d '"' -f 2 2> /dev/null`
3292
7fa3a928631a not it looks like this 'MPlayer CVS-011203-19:47-gcc-2.95.3'
jaf
parents: 1621
diff changeset
4
18759
04ed79acda15 simplify
diego
parents: 18624
diff changeset
5 test "$1" && extra="-$1"
18595
c55903d85291 cosmetics
diego
parents: 18594
diff changeset
6
c55903d85291 cosmetics
diego
parents: 18594
diff changeset
7 echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h