changeset 53162:2e41937c9cab

8214910: If pandoc is present, markdown spec files should be processed Reviewed-by: erikj, lancea
author ihse
date Tue, 11 Dec 2018 15:47:31 +0100
parents 7b4f2f7376fe
children 6538fccf77a8
files make/Docs.gmk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/Docs.gmk	Wed Dec 12 09:50:39 2018 -0800
+++ b/make/Docs.gmk	Tue Dec 11 15:47:31 2018 +0100
@@ -532,9 +532,9 @@
   ) \
 )
 
-ifeq ($(ENABLE_FULL_DOCS), true)
+ifneq ($(PANDOC), )
   # 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