aboutsummaryrefslogtreecommitdiff
path: root/dists/debian/prepare
diff options
context:
space:
mode:
Diffstat (limited to 'dists/debian/prepare')
-rwxr-xr-xdists/debian/prepare5
1 files changed, 5 insertions, 0 deletions
diff --git a/dists/debian/prepare b/dists/debian/prepare
new file mode 100755
index 0000000000..bfee1d0ec6
--- /dev/null
+++ b/dists/debian/prepare
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+VER=`sed -n -e 's/ CVS//' -e 's/^#define SCUMMVM_VERSION "\(.*\)"/\1/p' common/engine.h`+cvs`date +%Y%m%d`
+
+sed "s/@VERSION@/$VER/g" debian/changelog.in > debian/changelog