[jedit] 05/07: Improvement: Check for the existence of bsh directory and then call ant

Markus Koschany apo at moszumanska.debian.org
Thu Mar 22 15:17:47 GMT 2018


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

apo pushed a commit to branch master
in repository jedit.

commit 7c8579cf8d164ff3d0ece9e87b303752456e1eb3
Author: Markus Koschany <apo at debian.org>
Date:   Thu Mar 22 16:03:00 2018 +0100

    Improvement: Check for the existence of bsh directory and then call ant
    
    clean-all.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6e938ca..2f17ab6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,15 +48,16 @@ override_dh_auto_install:
 
 override_dh_install:
 	dh_install --exclude=LICENSE.md
-	ant clean-all
 
 override_dh_auto_clean:
+	if [ -d "bsh" ]; then ant clean-all; fi
 	-dh_quilt_unpatch
 	-mv debian/patches/series debian/patches/series.noauto
 	rm -f debian/jedit.menu debian/jedit.desktop debian/jedit.debhelper.log
 	# bsh: clean
 	rm -rf org/gjt/sp/jedit/bsh bsh
 
+
 get-orig-source:
 	uscan --verbose --download-version $(VERSION) --force-download --repack --rename
 	-mkdir $(TMPDIR) && tar -C $(TMPDIR) -zxf ../jedit_$(VERSION).orig.tar.gz

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



More information about the pkg-java-commits mailing list