The following commit has been merged in the master branch:
commit 978adc89065d254489390651f05fe4d6928bb301
Author: Charles Plessy <[email protected]>
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.

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to