[nco] 22/32: Use $(RM) instead of rm -f.

Bas Couwenberg sebastic at xs4all.nl
Mon Jan 19 00:00:38 UTC 2015


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

sebastic-guest pushed a commit to branch master
in repository nco.

commit 6dde2d0258857fc5f3725441c13b2a0e886750a3
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jan 18 19:05:14 2015 +0100

    Use $(RM) instead of rm -f.
---
 debian/rules | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/debian/rules b/debian/rules
index d2e5874..9d1be9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,17 @@ CONFIGURE_OPTS = --prefix=/usr \
 		--disable-udunits \
 		--disable-static
 
+override_dh_clean:
+	dh_clean data/big.nc \
+                 data/in_1.nc \
+                 data/in_2.nc \
+                 data/nco_bm.stderr \
+                 debian/rules.old \
+                 doc/nco.info \
+                 doc/nco.info-1 \
+                 doc/nco.info-2 \
+                 doc/nco.info-3
+
 override_dh_auto_configure:
 	dh_auto_configure -- $(CONFIGURE_OPTS)
 
@@ -24,18 +35,6 @@ override_dh_auto_build:
 	cd doc && $(MAKE) clean && $(MAKE) html
 	cd doc && $(MAKE) nco.info
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -f data/big.nc \
-        data/in_1.nc \
-        data/in_2.nc \
-        data/nco_bm.stderr \
-        debian/rules.old \
-        doc/nco.info \
-        doc/nco.info-1 \
-        doc/nco.info-2 \
-        doc/nco.info-3
-
 override_dh_auto_test:
 	# currently the check phase badly fails
 	dh_auto_test || echo "Ignoring test failures"
@@ -45,7 +44,7 @@ override_dh_auto_install:
 	find $(CURDIR)/debian/nco -name '*.h' -delete
 	find $(CURDIR)/debian/nco -name '*.hh' -delete
 	$(RM) debian/nco/usr/lib/nco/libnco.la
-	rm -f debian/nco/usr/share/info/dir
+	$(RM) debian/nco/usr/share/info/dir
 
 override_dh_install:
 	dh_install --list-missing

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/nco.git



More information about the Pkg-grass-devel mailing list