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