[med-svn] [SCM] emboss branch, master, updated. debian/6.3.1-6-22-g978adc8

Charles Plessy plessy at debian.org
Fri May 11 06:02:35 UTC 2012


The following commit has been merged in the master branch:
commit 978adc89065d254489390651f05fe4d6928bb301
Author: Charles Plessy <plessy at debian.org>
Date:   Fri May 11 15:01:02 2012 +0900

    Preparing the use of dh by transferring rules to Debhelper overrides.

diff --git a/debian/rules b/debian/rules
index 16a5a8d..96b3086 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,12 +47,14 @@ debian/manpages/success:
 clean: unpatch
 	dh_testdir
 	dh_testroot
-	[ ! -d debian/testbackup ] || ( $(RM) --recursive test ; mv debian/testbackup test )
-	[ ! -f Makefile ] || $(MAKE) distclean
-	find jemboss/ -type f -name "*.class" | xargs -r rm -f
+	dh_auto_clean
+	dh_clean
+
+override_dh_clean:
 	rm --force --recursive debian/emboss_tmp
-	$(RM) config.status install-stamp
-	dh_clean config.sub config.guess test-stamp
+	find jemboss/ -type f -name "*.class" | xargs -r rm -f
+	[ ! -d debian/testbackup ] || ( $(RM) --recursive test ; mv debian/testbackup test )
+	dh_clean config.sub config.guess config.status test-stamp install-stamp
 	[ ! -f /usr/bin/git ] || git checkout config.sub config.guess
 
 install: build install-stamp

-- 
The European Molecular Biology Open Software Suite.



More information about the debian-med-commit mailing list