[Git][java-team/jalview][master] Fixing the clean target

Pierre Gruet (@pgt) gitlab at salsa.debian.org
Mon Aug 14 22:15:26 BST 2023



Pierre Gruet pushed to branch master at Debian Java Maintainers / jalview


Commits:
4d806d96 by Pierre Gruet at 2023-08-14T23:15:16+02:00
Fixing the clean target

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+jalview (2.11.2.6+dfsg-2) UNRELEASED; urgency=medium
+
+  * Fixing the clean target (Closes: #1045599)
+
+ -- Pierre Gruet <pgt at debian.org>  Mon, 14 Aug 2023 23:14:56 +0200
+
 jalview (2.11.2.6+dfsg-1) unstable; urgency=medium
 
   * New upstream version 2.11.2.6+dfsg


=====================================
debian/rules
=====================================
@@ -47,12 +47,15 @@ DEBIAN_JARS_TEST=/usr/share/java/jaxb-impl.jar \
 %:
 	dh $@ --with javahelper --with maven_repo_helper
 
-override_dh_auto_clean:
+override_dh_clean:
 	# Removing our handmade pom.
 	$(RM) pom.xml
 	# Removing the jars we gathered for the build and the tests.
 	$(RM) -rf cpJars
-	dh_auto_clean
+	# Removing the class files
+	find . -name "*.class" -delete
+	$(RM) -rf dist
+	dh_clean
 
 override_dh_auto_configure:
 	# Placing pom.xml at root, with a hack to put the package version number



View it on GitLab: https://salsa.debian.org/java-team/jalview/-/commit/4d806d966c3a6a4da43004264d13ff285e2c0308

-- 
View it on GitLab: https://salsa.debian.org/java-team/jalview/-/commit/4d806d966c3a6a4da43004264d13ff285e2c0308
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20230814/54e31fbb/attachment.htm>


More information about the pkg-java-commits mailing list