[openjfx] 03/03: Simplified the clean target

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Oct 15 19:59:20 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository openjfx.

commit 33c6f4b1c9c110817ec9bd712ae2f30a4032e7e5
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Oct 15 19:16:00 2015 +0200

    Simplified the clean target
---
 debian/changelog |  1 +
 debian/rules     | 17 ++---------------
 2 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fc47ddb..37d623f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ openjfx (8u60-b27-5) UNRELEASED; urgency=medium
   * Team upload.
   * Build with gradle-debian-helper
   * Use override_dh_*-{arch,indep} to split the arch all/any operations
+  * Simplified the clean target
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 15 Oct 2015 21:56:59 +0200
 
diff --git a/debian/rules b/debian/rules
index 9428dcc..4cae0ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -73,21 +73,8 @@ override_dh_install-indep:
 
 override_dh_auto_clean:
 	rm -f gradle.properties
-	rm -Rf build .gradle buildSrc/.gradle/ buildSrc/build/
-	rm -Rf modules/base/build/
-	rm -Rf modules/graphics/build/
-	rm -Rf modules/controls/build/
-	rm -Rf modules/designTime/build/
-	rm -Rf modules/swing/build/
-	rm -Rf modules/builders/build/
-	rm -Rf modules/extensions/build/
-	rm -Rf modules/fxml/build/
-	rm -Rf modules/fxpackager/build/
-	rm -Rf modules/media/build/
-	rm -Rf modules/swt/build/
-	rm -Rf modules/web/build/
-	rm -Rf modules/jmx/build/
-	rm -Rf tests/system/build/
+	rm -Rf .gradle buildSrc/.gradle
+	find . -maxdepth 3 -name build -type d | xargs -r rm -Rf
 	rm -f modules/web/src/main/native/Source/JavaScriptCore/inspector/scripts/CodeGeneratorInspectorStrings.pyc
 	rm -f modules/web/src/main/native/Source/JavaScriptCore/inspector/scripts/jsmin.py
 

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



More information about the pkg-java-commits mailing list