8227644: make more build-time variables available to Markdown files
Reviewed-by: mchung
This commit is contained in:
parent
da3672a299
commit
a1bbcd7892
@ -595,7 +595,9 @@ ifeq ($(ENABLE_PANDOC), true)
|
|||||||
DEST := $(DOCS_OUTPUTDIR)/specs/, \
|
DEST := $(DOCS_OUTPUTDIR)/specs/, \
|
||||||
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
||||||
OPTIONS := -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_$($m_$f_NOF_SUBDIRS))', \
|
OPTIONS := -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_$($m_$f_NOF_SUBDIRS))', \
|
||||||
REPLACEMENTS := @@VERSION_STRING@@ => $(VERSION_STRING), \
|
REPLACEMENTS := \
|
||||||
|
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
|
||||||
|
@@VERSION_STRING@@ => $(VERSION_STRING), \
|
||||||
POST_PROCESS := $(TOOL_FIXUPPANDOC), \
|
POST_PROCESS := $(TOOL_FIXUPPANDOC), \
|
||||||
)) \
|
)) \
|
||||||
$(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
|
$(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
|
||||||
@ -625,7 +627,10 @@ ifeq ($(ENABLE_PANDOC), true)
|
|||||||
DEST := $(DOCS_OUTPUTDIR)/specs/man, \
|
DEST := $(DOCS_OUTPUTDIR)/specs/man, \
|
||||||
FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
|
FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
|
||||||
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
||||||
REPLACEMENTS := @@VERSION_SHORT@@ => $(VERSION_SHORT), \
|
REPLACEMENTS := \
|
||||||
|
@@COPYRIGHT_YEAR@@ => $(COPYRIGHT_YEAR) ; \
|
||||||
|
@@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
|
||||||
|
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
|
||||||
OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
|
OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
|
||||||
POST_PROCESS := $(TOOL_FIXUPPANDOC), \
|
POST_PROCESS := $(TOOL_FIXUPPANDOC), \
|
||||||
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
|
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
|
||||||
|
@ -235,7 +235,10 @@ ifeq ($(call isTargetOsType, unix), true)
|
|||||||
FORMAT := man, \
|
FORMAT := man, \
|
||||||
FILTER := $(PANDOC_TROFF_MANPAGE_FILTER), \
|
FILTER := $(PANDOC_TROFF_MANPAGE_FILTER), \
|
||||||
POST_PROCESS := $(MAN_POST_PROCESS), \
|
POST_PROCESS := $(MAN_POST_PROCESS), \
|
||||||
REPLACEMENTS := @@VERSION_SHORT@@ => $(VERSION_SHORT), \
|
REPLACEMENTS := \
|
||||||
|
@@COPYRIGHT_YEAR@@ => $(COPYRIGHT_YEAR) ; \
|
||||||
|
@@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
|
||||||
|
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
|
||||||
EXTRA_DEPS := $(PANDOC_TROFF_MANPAGE_FILTER) \
|
EXTRA_DEPS := $(PANDOC_TROFF_MANPAGE_FILTER) \
|
||||||
$(PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT), \
|
$(PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT), \
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user