[osmosis] 23/28: Remove generated files and directories on clean.

Bas Couwenberg sebastic at xs4all.nl
Sun Apr 6 01:47:09 UTC 2014


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

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

commit 6b2f021c317c353d132ecc06c22e51de671596de
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Mar 16 19:25:05 2014 +0100

    Remove generated files and directories on clean.
---
 debian/changelog | 1 +
 debian/clean     | 4 ----
 debian/rules     | 6 +++++-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 40ef442..6951598 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ osmosis (0.43.1-1) UNRELEASED; urgency=low
   * Use dh with maven-repo-helper.
   * Add build dependency on libwoodstox-java.
   * Add patch to use packaged libraries during build.
+  * Remove generated files and directories on clean.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 16 Mar 2014 15:17:02 +0100
 
diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index ef7988d..0000000
--- a/debian/clean
+++ /dev/null
@@ -1,4 +0,0 @@
-core/src/org/openstreetmap/osmosis/core/OsmosisConstants.java
-core/src/org/openstreetmap/osmosis/core/plugin/plugin.xml
-core/src/main/resources/org/openstreetmap/osmosis/core/plugin/plugin.xml
-core/src/main/java/org/openstreetmap/osmosis/core/OsmosisConstants.java
diff --git a/debian/rules b/debian/rules
index b4844ed..ac00189 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,11 @@ override_dh_auto_build:
 
 override_dh_clean:
 	gradle --offline --no-daemon --gradle-user-home debian/gradle-user-home clean -x build
-	dh_clean
+
+	rm -rfv .gradle package/lib debian/gradle-user-home
+
+	dh_clean osmosis-core/src/main/java/org/openstreetmap/osmosis/core/OsmosisConstants.java \
+	         osmosis-core/src/main/resources/org/openstreetmap/osmosis/core/plugin/plugin.xml
 
 override_dh_installchangelogs:
 	dh_installchangelogs -- package/changes.txt

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



More information about the Pkg-grass-devel mailing list