add dpatch infrastructure

This commit is contained in:
Jan Wagner 2008-04-02 21:37:11 +00:00
parent e87dd33c7c
commit bd1517fc23
2 changed files with 5 additions and 3 deletions

2
debian/control vendored
View file

@ -2,7 +2,7 @@ Source: ps-watcher
Section: admin
Priority: extra
Maintainer: Jan Wagner <waja@cyconet.org>
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

6
debian/rules vendored
View file

@ -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