From e4247a9e839d44daf0269bd8f789d10be64847b5 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Fri, 2 May 2008 14:24:09 +0200 Subject: [PATCH] Add dpatch to build-depends --- debian/control | 2 +- debian/rules | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index c90a39fb..e61c4bab 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: scalable-opengroupware.org Section: unknown Priority: extra Maintainer: Tollef Fog Heen -Build-Depends: debhelper (>= 5), autotools-dev, libsope4.7-dev +Build-Depends: debhelper (>= 5), autotools-dev, libsope4.7-dev, dpatch Standards-Version: 3.7.2 Package: scalable-opengroupware.org diff --git a/debian/rules b/debian/rules index 66e21263..2ec84728 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + GNUSTEP_MAKEFILES=/usr/share/GNUstep/Makefiles GNUSTEP_SETUP=$(GNUSTEP_MAKEFILES)/GNUstep.sh @@ -33,14 +36,14 @@ config.status: configure build: build-stamp -build-stamp: config.status +build-stamp: patch-stamp config.status dh_testdir # Add here commands to compile the package. . $(GNUSTEP_SETUP) && $(MAKE) messages=yes touch $@ -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp -- 2.39.5