[ps-watcher] 47/88: add dpatch infrastructure

Jan Wagner waja at alioth.debian.org
Fri Nov 8 23:06:40 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository ps-watcher.

commit bd1517fc2349b09de38437f40e8c36a59036cb05
Author: Jan Wagner <waja at cyconet.org>
Date:   Wed Apr 2 21:37:11 2008 +0000

    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 <waja at 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
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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/ps-watcher.git



More information about the Pkg-perl-cvs-commits mailing list