Ticket #8518: svn_debian.txt

File svn_debian.txt, 665 bytes (added by SF/ltosky, 18 years ago)
Line 
1Index: dists/debian/prepare
2===================================================================
3--- dists/debian/prepare (revisione 20778)
4+++ dists/debian/prepare (copia locale)
5@@ -4,7 +4,7 @@
6 # calls "make deb". It adds a changelog entry to the top of debian/changelog
7 # so that the version number is correct.
8
9-VERSION=`sed -n -e 's/CVS//g' -e 's/^const char \*gScummVMVersion = "\(.*\)";/\1/p' base/main.cpp `-0cvs`date +%Y%m%d`
10+VERSION=`sed -n -e 's/svn//g' -e 's/^#define SCUMMVM_VERSION "\(.*\)"/\1/p' base/internal_version.h`-0svn`date +%Y%m%d`
11 USERNAME=`whoami`
12 GECOS=`getent passwd $USERNAME | awk '-F[,:]' '{print $5}'`
13 DOMAIN=`hostname --fqdn`