[libreadline-java] 04/08: Build for Java 8. Replace MAKE command with dh_auto_build.

Markus Koschany apo at moszumanska.debian.org
Thu Oct 26 13:18:09 UTC 2017


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

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

commit 7e8789d69acd39d14d65de06ca65db1095a6c04f
Author: Markus Koschany <apo at debian.org>
Date:   Thu Oct 26 14:28:52 2017 +0200

    Build for Java 8. Replace MAKE command with dh_auto_build.
    
    Closes: #873991
    Thanks: Chris West for the report.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index b906fa0..f8b6f5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ export JAVA_HOME:=/usr/lib/jvm/default-java
 	dh $@ --with javahelper
 
 override_dh_auto_build:
-	$(MAKE) JAVAC=$(JAVA_HOME)/bin/javac JC_FLAGS="-source 1.4 -target 1.4" CC=gcc \
+	dh_auto_build -- JAVAC=$(JAVA_HOME)/bin/javac JC_FLAGS="-source 1.8 -target 1.8" CC=gcc \
 	  JAVAINCLUDE=$(JAVA_HOME)/include \
 	  JAVANATINC=$(JAVA_HOME)/include \
 	  T_LIBS="JavaReadline JavaEditline" jar build-native apidoc

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



More information about the pkg-java-commits mailing list