From 6f6bce56fc95832a07ef9bfc6a4770b76440af09 Mon Sep 17 00:00:00 2001
From: Magnus Ihse Bursie
At least version 3.2 of GNU Bash must be used.
In order to build the full docs (see the +
In order to build man pages and the full docs (see the
--enable-full-docs configure option) Graphviz and Pandoc are required. Any recent versions
-should work. For reference, and subject to change, Oracle builds use
-Graphviz 9.0.0 and Pandoc 2.19.2.
To build the JDK, you need a "configuration", which consists of a directory where to store the build output, coupled with information diff --git a/doc/building.md b/doc/building.md index 99bc509dc70..04db6e94d1c 100644 --- a/doc/building.md +++ b/doc/building.md @@ -680,9 +680,9 @@ At least version 3.2 of GNU Bash must be used. ### Graphviz and Pandoc -In order to build the full docs (see the `--enable-full-docs` -configure option) [Graphviz](https://www.graphviz.org) and -[Pandoc](https://pandoc.org) are required. Any recent versions should +In order to build man pages and the full docs (see the `--enable-full-docs` +configure option) [Pandoc](https://pandoc.org) is required. For full docs also +[Graphviz](https://www.graphviz.org) is required. Any recent versions should work. For reference, and subject to change, Oracle builds use Graphviz 9.0.0 and Pandoc 2.19.2. diff --git a/make/autoconf/jdk-options.m4 b/make/autoconf/jdk-options.m4 index 61638ce5a2c..c09f581688c 100644 --- a/make/autoconf/jdk-options.m4 +++ b/make/autoconf/jdk-options.m4 @@ -121,7 +121,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS], if test "x$DOT" != "x"; then AC_MSG_RESULT([yes]) else - AC_MSG_RESULT([no, cannot generate full docs]) + AC_MSG_RESULT([no, cannot generate full docs or man pages]) FULL_DOCS_AVAILABLE=false fi @@ -129,7 +129,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS], if test "x$ENABLE_PANDOC" = "xtrue"; then AC_MSG_RESULT([yes]) else - AC_MSG_RESULT([no, cannot generate full docs]) + AC_MSG_RESULT([no, cannot generate full docs or man pages]) FULL_DOCS_AVAILABLE=false fi diff --git a/make/common/modules/LauncherCommon.gmk b/make/common/modules/LauncherCommon.gmk index 77f39457b4c..98e110a0a86 100644 --- a/make/common/modules/LauncherCommon.gmk +++ b/make/common/modules/LauncherCommon.gmk @@ -192,9 +192,7 @@ ifeq ($(call isTargetOsType, unix)+$(MAKEFILE_PREFIX), true+Launcher) MAN_FILES_MD := $(wildcard $(addsuffix /*.md, $(call FindModuleManDirs, $(MODULE)))) ifneq ($(MAN_FILES_MD), ) - ifeq ($(ENABLE_PANDOC), false) - $(info Warning: pandoc not found. Not generating man pages) - else + ifeq ($(ENABLE_PANDOC), true) # Create dynamic man pages from markdown using pandoc. We need # PANDOC_TROFF_MANPAGE_FILTER, a wrapper around # PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT. This is created by buildtools-jdk.