[ps-watcher] 85/88: Adjusting clean target in debian/rules to completely cleanup

Jan Wagner waja at alioth.debian.org
Fri Nov 8 23:06:51 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 62ebac8c57876f08c870c2e4a3841f3890219d69
Author: Jan Wagner <waja at cyconet.org>
Date:   Fri Nov 8 22:22:24 2013 +0100

    Adjusting clean target in debian/rules to completely cleanup
---
 debian/rules |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 9122b01..ead32cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,11 +30,18 @@ build-stamp: config.status
 clean:
 	dh_testdir
 	dh_testroot
+	# remove target stamps
 	rm -f build-stamp
+	rm -f ps-watcher.stamp
+	# remove autoconf files
 	rm -f config.guess config.sub
 
 	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) clean
+	[ ! -f Makefile ] || $(MAKE) clean && find . -name Makefile -exec rm {} +
+	# clean files left behind make clean
+	rm -f config.* ps-watcher.in post-configure docs/pod2htmd.tmp
+	# delete modified (regenerated) files
+	rm -f docs/ps-watcher.8 docs/ps-watcher.html
 	dh_clean
 
 install: build

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