From bd1517fc2349b09de38437f40e8c36a59036cb05 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Wed, 2 Apr 2008 21:37:11 +0000 Subject: [PATCH] add dpatch infrastructure --- debian/control | 2 +- debian/rules | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 3f23a84..850af30 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: ps-watcher Section: admin Priority: extra Maintainer: Jan Wagner -Build-Depends: debhelper (>= 5), autotools-dev +Build-Depends: debhelper (>= 5), autotools-dev, dpatch Build-Depends-Indep: libconfig-inifiles-perl, perl-modules Homepage: http://ps-watcher.sourceforge.net/ Vcs-Browser: https://trac.cyconet.org/debian/browser/debian/ps-watcher diff --git a/debian/rules b/debian/rules index ab70dfa..de0c307 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -config.status: configure +include /usr/share/dpatch/dpatch.make + +config.status: patch-stamp configure dh_testdir # Add here commands to configure the package. ./configure --prefix=/usr --mandir=\$${prefix}/share/man @@ -18,7 +20,7 @@ build-stamp: config.status touch $@ -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp