8214910: If pandoc is present, markdown spec files should be processed

Reviewed-by: erikj, lancea
This commit is contained in:
Magnus Ihse Bursie 2018-12-11 15:47:31 +01:00
parent c25a638fd1
commit 6217349ee6

View File

@ -532,9 +532,9 @@ $(foreach m, $(ALL_MODULES), \
) \ ) \
) )
ifeq ($(ENABLE_FULL_DOCS), true) ifneq ($(PANDOC), )
# For all markdown files in $module/share/specs directories, convert them to # For all markdown files in $module/share/specs directories, convert them to
# html. # html, if we have pandoc (otherwise we'll just skip this).
GLOBAL_SPECS_DEFAULT_CSS_FILE := $(DOCS_OUTPUTDIR)/resources/jdk-default.css GLOBAL_SPECS_DEFAULT_CSS_FILE := $(DOCS_OUTPUTDIR)/resources/jdk-default.css