]> err.no Git - scalable-opengroupware.org/commitdiff
Add dpatch to build-depends
authorTollef Fog Heen <tfheen@err.no>
Fri, 2 May 2008 12:24:09 +0000 (14:24 +0200)
committerTollef Fog Heen <tfheen@err.no>
Fri, 2 May 2008 12:24:09 +0000 (14:24 +0200)
debian/control
debian/rules

index c90a39fb511f3f5f7a33415994266fd426a2f508..e61c4bab5d9066453e65f1427b40f9773fbbb671 100644 (file)
@@ -2,7 +2,7 @@ Source: scalable-opengroupware.org
 Section: unknown
 Priority: extra
 Maintainer: Tollef Fog Heen <tfheen@linpro.no>
-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
index 66e21263e0b0cfd361e4418a87650a4528aad061..2ec84728b8c35f76f1faa0bffaafd558bf10f589 100755 (executable)
@@ -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