37 ifeq ($(PANDOC), ) |
37 ifeq ($(PANDOC), ) |
38 $(info No pandoc executable was detected by configure) |
38 $(info No pandoc executable was detected by configure) |
39 $(error Cannot continue) |
39 $(error Cannot continue) |
40 endif |
40 endif |
41 |
41 |
42 GLOBAL_SPECS_DEFAULT_CSS_FILE := $(JDK_TOPDIR)/make/data/docs-resources/specs/resources/jdk-default.css |
42 GLOBAL_SPECS_DEFAULT_CSS_FILE := $(JDK_TOPDIR)/make/data/docs-resources/resources/jdk-default.css |
43 |
43 |
44 ################################################################################ |
44 ################################################################################ |
45 |
45 |
46 DOCS_DIR := $(TOPDIR)/common/doc |
46 DOCS_DIR := $(TOPDIR)/common/doc |
47 |
47 |
48 $(eval $(call SetupProcessMarkdown, building, \ |
48 $(eval $(call SetupProcessMarkdown, building, \ |
49 FILES := $(DOCS_DIR)/building.md, \ |
49 FILES := $(DOCS_DIR)/building.md, \ |
50 DEST := $(DOCS_DIR), \ |
50 DEST := $(DOCS_DIR), \ |
51 CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \ |
51 CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \ |
|
52 OPTIONS := --toc, \ |
52 )) |
53 )) |
53 TARGETS += $(building) |
54 TARGETS += $(building) |
54 |
55 |
55 $(eval $(call SetupProcessMarkdown, testing, \ |
56 $(eval $(call SetupProcessMarkdown, testing, \ |
56 FILES := $(DOCS_DIR)/testing.md, \ |
57 FILES := $(DOCS_DIR)/testing.md, \ |