Pierre Gruet pushed to branch master at Debian Med / beast2-mcmc


Commits:
a4c6e6dc by Pierre Gruet at 2023-08-16T06:46:26+02:00
Fixing the clean target

- - - - -


3 changed files:

- debian/changelog
- + debian/clean
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+beast2-mcmc (2.7.5+dfsg-2) UNRELEASED; urgency=medium
+
+  * FIxing the clean target (Closes: #1043696)
+
+ -- Pierre Gruet <[email protected]>  Wed, 16 Aug 2023 06:45:53 +0200
+
 beast2-mcmc (2.7.5+dfsg-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/clean
=====================================
@@ -0,0 +1,6 @@
+beastfx/beast.log
+beastfx/state.backup.xml
+src/beast/base/evolution/tree/treeparser/NewickLexer.interp
+src/beast/base/evolution/tree/treeparser/NewickLexer.tokens
+src/beast/base/evolution/tree/treeparser/NewickParser.interp
+src/beast/base/evolution/tree/treeparser/NewickParser.tokens


=====================================
debian/rules
=====================================
@@ -30,13 +30,15 @@ PDFLATEX:=pdflatex -interaction=batchmode
 override_dh_compress:
        dh_compress --exclude=.pdf
 
-override_dh_auto_clean:
-       # skip as it needs patches applied, only remove our files generated 
manually
-       # with antlr4.
+override_dh_clean:
+       # Removing our files generated manually with antlr4.
        if [ -e debian/treeparser ]; then \
            rm src/beast/base/evolution/tree/treeparser/*.java; \
            mv debian/treeparser/*.java 
src/beast/base/evolution/tree/treeparser; \
        fi
+       # Removing the build dirs, with build .class, .jar and .zip inside
+       rm -rf build beastfx/build release/package
+       dh_clean
 
 execute_before_dh_auto_configure:
        # Replacing upstream .java files generated by a recent antlr4 with ones



View it on GitLab: 
https://salsa.debian.org/med-team/beast2-mcmc/-/commit/a4c6e6dc198a4b1b608a9f36a5995d6fb38830a3

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/beast2-mcmc/-/commit/a4c6e6dc198a4b1b608a9f36a5995d6fb38830a3
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to