[libnative-platform-java] 03/03: Let javadoc link against default-jdk-doc

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Thu Nov 10 11:47:28 UTC 2016


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

seamlik-guest pushed a commit to branch master
in repository libnative-platform-java.

commit fd2320540905560a033378ffebb73359c0740c9a
Author: Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
Date:   Thu Nov 10 19:47:17 2016 +0800

    Let javadoc link against default-jdk-doc
---
 debian/Makefile | 2 +-
 debian/control  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/Makefile b/debian/Makefile
index 71e0fda..e2df060 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -44,7 +44,7 @@ $(BUILD_DIR)/classes/%.class: $(JAVA_SRC)
 
 javadoc: $(JAVA_NO_INTERNAL_SRC)
 	mkdir --parents $(BUILD_DIR)/javadoc
-	javadoc -d $(BUILD_DIR)/javadoc $^
+	javadoc -d $(BUILD_DIR)/javadoc -link file:///usr/share/doc/default-jdk/api $^
 
 $(BUILD_DIR)/native-platform.jar: $(BUILD_DIR)/classes/%.class
 	jar cf $@ -C $(BUILD_DIR)/classes .
diff --git a/debian/control b/debian/control
index 0dea9de..27cb23f 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Damien Raude-Morvan <drazzib at debian.org>,
            Kai-Chung Yan <seamlikok at gmail.com>
 Build-Depends: debhelper (>= 10),
                default-jdk-headless | default-jdk (>= 1:1.6),
+               default-jdk-doc,
                javahelper,
                libncurses5-dev,
                maven-repo-helper (>= 1.5~)

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



More information about the pkg-java-commits mailing list