From a1896926fd2dadf77d05551d5df41e0077c660cd Mon Sep 17 00:00:00 2001 From: Tore Anderson Date: Wed, 17 Dec 2003 15:32:09 +0000 Subject: Updated dists/debian so it's able to build a working package from current CVS. svn-id: r11716 --- dists/debian/changelog.in | 2 +- dists/debian/prepare | 2 +- dists/debian/rules | 6 +++--- dists/debian/scummvm-cvs.docs | 2 ++ 4 files changed, 7 insertions(+), 5 deletions(-) (limited to 'dists/debian') diff --git a/dists/debian/changelog.in b/dists/debian/changelog.in index e57ebe6ba1..ce7b8b941f 100644 --- a/dists/debian/changelog.in +++ b/dists/debian/changelog.in @@ -4,4 +4,4 @@ scummvm-cvs (@VERSION@-1) unstable; urgency=low you use this package. Instead use the Sourceforge bug tracker found at . - -- Tore Anderson Sat, 01 Mar 2003 01:18:34 +0100 + -- Tore Anderson Sat, 01 Mar 2003 01:18:34 +0100 diff --git a/dists/debian/prepare b/dists/debian/prepare index 64d64db47c..095c596854 100755 --- a/dists/debian/prepare +++ b/dists/debian/prepare @@ -1,5 +1,5 @@ #! /bin/sh -VER=`sed -n -e 's/ CVS//' -e 's/^const char \*gScummVMVersion = "\(.*\)"/\1/p' common/engine.cpp``date +%Y%m%d` +VER=`sed -n -e 's/^const char \*gScummVMVersion = "\(.*\)";/\1/p' base/main.cpp``date +%Y%m%d` sed "s/@VERSION@/$VER/g" debian/changelog.in > debian/changelog diff --git a/dists/debian/rules b/dists/debian/rules index 769da061fd..0a6b17130c 100755 --- a/dists/debian/rules +++ b/dists/debian/rules @@ -8,15 +8,15 @@ endif build: dh_testdir + ./configure $(MAKE) clean: dh_testdir dh_testroot - -$(MAKE) clean - -find . -type d -name .deps | xargs rm -rf - rm -f build.rules dh_clean + rm -f debian/changelog + -$(MAKE) clean install: build dh_testdir diff --git a/dists/debian/scummvm-cvs.docs b/dists/debian/scummvm-cvs.docs index e845566c06..5502ed8f40 100644 --- a/dists/debian/scummvm-cvs.docs +++ b/dists/debian/scummvm-cvs.docs @@ -1 +1,3 @@ +NEWS README +TODO -- cgit v1.2.3