[bnd] 01/01: Use simpler dh_clean rules

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Tue Mar 13 12:19:16 GMT 2018


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

seamlik-guest pushed a commit to branch master
in repository bnd.

commit 6f7e037cec58d8fe26e59c91f6377d18ef7cce11
Author: 殷啟聰 | Kai-Chung Yan <seamlikok at gmail.com>
Date:   Tue Mar 13 20:19:01 2018 +0800

    Use simpler dh_clean rules
---
 debian/clean | 34 ++++++++++++++++++++++++++++++++++
 debian/rules | 38 --------------------------------------
 2 files changed, 34 insertions(+), 38 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..b103d06
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,34 @@
+aQute.libg/bin/
+aQute.libg/generated/
+biz.aQute.bnd.annotation/bin/
+biz.aQute.bnd.annotation/generated/
+biz.aQute.bnd.embedded-repo/generated/
+biz.aQute.bnd.gradle/bin/
+biz.aQute.bnd.gradle/generated/
+biz.aQute.bnd/bin/
+biz.aQute.bnd/generated/
+biz.aQute.bndlib.tests/generated/
+biz.aQute.bndlib/bin/
+biz.aQute.bndlib/generated/
+biz.aQute.junit/bin/
+biz.aQute.junit/generated/
+biz.aQute.launcher/bin/
+biz.aQute.launcher/generated/
+biz.aQute.remote/bin/
+biz.aQute.remote/generated/
+biz.aQute.repository/bin/
+biz.aQute.repository/generated/
+biz.aQute.resolve/bin/
+biz.aQute.resolve/generated/
+biz.aQute.tester/bin/
+biz.aQute.tester/generated/
+bootstrap/
+cnf/cache/
+cnf/generated/
+cnf/local.mvn
+debian/.m2/
+debian/bnd.1
+org.osgi.impl.bundle.repoindex.api/bin/
+org.osgi.impl.bundle.repoindex.api/generated/
+org.osgi.impl.bundle.repoindex.lib/bin/
+org.osgi.impl.bundle.repoindex.lib/generated/
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 0c7e94f..327af6e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,45 +69,7 @@ override_dh_auto_install:
 
 override_dh_auto_clean:
 	dh_auto_clean
-
-	-rm -rf cnf/cache
-	-rm -rf cnf/generated
-	-rm -rf aQute.libg/bin/
-	-rm -rf aQute.libg/generated/
-	-rm -rf biz.aQute.bndlib/bin/
-	-rm -rf biz.aQute.bndlib/generated/
-	-rm -rf biz.aQute.bndlib.tests/generated
-	-rm -rf biz.aQute.bnd/bin/
-	-rm -rf biz.aQute.bnd/generated/
-	-rm -rf biz.aQute.bnd.annotation/generated/
-	$(RM) -r biz.aQute.bnd.annotation/bin
-	-rm -rf biz.aQute.junit/bin/
-	-rm -rf biz.aQute.junit/generated/
-	-rm -rf biz.aQute.launcher/bin/
-	-rm -rf biz.aQute.launcher/generated/
-	$(RM) -r biz.aQute.bnd.embedded-repo/generated
-	$(RM) -r biz.aQute.bnd.gradle/bin
-	$(RM) -r biz.aQute.bnd.gradle/generated
-	$(RM) -r biz.aQute.remote/bin
-	$(RM) -r biz.aQute.remote/generated
-	$(RM) -r biz.aQute.repository/bin
-	$(RM) -r biz.aQute.repository/generated
-	$(RM) -r biz.aQute.resolve/bin
-	$(RM) -r biz.aQute.resolve/generated
-	$(RM) -r biz.aQute.tester/bin
-	$(RM) -r biz.aQute.tester/generated
-	$(RM) -r org.osgi.impl.bundle.repoindex.api/bin
-	$(RM) -r org.osgi.impl.bundle.repoindex.api/generated
-	$(RM) -r org.osgi.impl.bundle.repoindex.lib/bin
-	$(RM) -r org.osgi.impl.bundle.repoindex.lib/generated
 	-find . -type l -name '*.jar' -delete
-	jh_clean
-	mh_clean
-	-rm -rf install/
-	-rm -f debian/bnd.1
-	-rm -Rf bootstrap
-	$(RM) -r debian/.m2
-	$(RM) cnf/local.mvn
 
 get-orig-source:
 	uscan --download-current-version --force-download --repack --compression xz
\ No newline at end of file

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



More information about the pkg-java-commits mailing list