From: Tollef Fog Heen Date: Fri, 2 May 2008 12:24:09 +0000 (+0200) Subject: Add dpatch to build-depends X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4247a9e839d44daf0269bd8f789d10be64847b5;p=scalable-opengroupware.org Add dpatch to build-depends --- 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