view version.sh @ 18707:60a60dbf7a88

Remove extern declaration for free_sh_audio() that is both unused and already present from stheader.h. (Would cause a compile error after my next change.)
author uau
date Wed, 14 Jun 2006 13:47:11 +0000
parents 06c236dd604b
children 04ed79acda15
line wrap: on
line source

#!/bin/sh

revision=r`grep committed-rev .svn/entries | sed 1q | cut -d '"' -f 2 2>/dev/null`

extra=""
if test "$1" ; then
  extra="-$1"
fi

echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h