[tinyows] 03/05: Use dh_clean for additional files instead of separate rm commands.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Dec 20 01:05:54 UTC 2015


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

sebastic pushed a commit to branch master
in repository tinyows.

commit 53060ed52b96f948b3c46be5f49c21a7786260ed
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 20 01:47:31 2015 +0100

    Use dh_clean for additional files instead of separate rm commands.
---
 debian/changelog |  1 +
 debian/rules     | 12 +++++-------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 501c515..717b6f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ tinyows (1.1.1-2) UNRELEASED; urgency=medium
 
   * Update Vcs-Browser URL to use HTTPS.
   * Fix typo in README.Debian.
+  * Use dh_clean for additional files instead of separate rm commands.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 20 Dec 2015 01:39:30 +0100
 
diff --git a/debian/rules b/debian/rules
index 0c7f480..7c8a541 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,13 +16,11 @@ CFLAGS += $(CPPFLAGS)
 	      --parallel
 
 override_dh_clean:
-	dh_clean -Xautom4te.cache
-
-	# remove automatically generated files
-	rm -f $(CURDIR)/test/wfs_100/config_wfs_100.xml
-	rm -f $(CURDIR)/test/wfs_100/install_wfs_100.sh
-	rm -f $(CURDIR)/test/wfs_110/config_wfs_110.xml
-	rm -f $(CURDIR)/test/wfs_110/install_wfs_110.sh
+	dh_clean -Xautom4te.cache \
+		 $(CURDIR)/test/wfs_100/config_wfs_100.xml \
+		 $(CURDIR)/test/wfs_100/install_wfs_100.sh \
+		 $(CURDIR)/test/wfs_110/config_wfs_110.xml \
+		 $(CURDIR)/test/wfs_110/install_wfs_110.sh
 
 override_dh_auto_configure:
 	dh_auto_configure -- --with-shp2pgsql=/usr/bin/shp2pgsql

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



More information about the Pkg-grass-devel mailing list