[libitext5-java] 08/12: Improve dh_auto_test override.

Markus Koschany apo at moszumanska.debian.org
Wed Mar 21 12:40:49 GMT 2018


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

apo pushed a commit to branch master
in repository libitext5-java.

commit 9e1ef8b465894d3e19aeff58a5a464eeab31b52f
Author: Markus Koschany <apo at debian.org>
Date:   Wed Mar 21 13:26:27 2018 +0100

    Improve dh_auto_test override.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 46ade6d..d8de15a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,9 @@
 	dh $@ --buildsystem=maven
 
 override_dh_auto_test:
-	dh_auto_build -- package -DgsExec=/usr/bin/gs
+	ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+		dh_auto_build -- package -DgsExec=/usr/bin/gs
+	endif
 
 ### This could work with dh but does for sure not with cdbs
 ### Simply keeping this to conserve the idea

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



More information about the pkg-java-commits mailing list