Skip to content

Commit 8055e19

Browse files
J. DukeJornVernee
J. Duke
authored andcommittedMay 21, 2024
Merge master
2 parents 5d81a15 + e06e6d4 commit 8055e19

File tree

476 files changed

+14770
-10010
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

476 files changed

+14770
-10010
lines changed
 

‎make/Docs.gmk

+19-22
Original file line numberDiff line numberDiff line change
@@ -681,28 +681,25 @@ ifeq ($(ENABLE_PANDOC), true)
681681
$(TOPDIR)/make/jdk/src/classes/build/tools/pandocfilter)
682682

683683
$(foreach m, $(ALL_MODULES), \
684-
$(eval MAN_$m := $(call FindModuleManDirs, $m)) \
685-
$(foreach d, $(MAN_$m), \
686-
$(foreach f, $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, $d))), \
687-
$(eval $m_$f_NAME := MAN_TO_HTML_$m_$(strip $(call RelativePath, $f, $(TOPDIR)))) \
688-
$(eval $(call SetupProcessMarkdown, $($m_$f_NAME), \
689-
SRC := $d, \
690-
FILES := $f, \
691-
DEST := $(DOCS_OUTPUTDIR)/specs/man, \
692-
FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
693-
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
694-
REPLACEMENTS := \
695-
@@COPYRIGHT_YEAR@@ => $(COPYRIGHT_YEAR) ; \
696-
@@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
697-
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
698-
OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
699-
POST_PROCESS := $(TOOL_FIXUPPANDOC) --insert-nav --nav-right-info '$(HEADER_RIGHT_SIDE_INFO)' \
700-
--nav-subdirs 1 --nav-link-guides, \
701-
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
702-
$(PANDOC_HTML_MANPAGE_FILTER_SOURCE), \
703-
)) \
704-
$(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
705-
) \
684+
$(eval MAN_$m := $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, \
685+
$(call FindModuleManDirs, $m))))) \
686+
$(if $(MAN_$m), \
687+
$(eval $(call SetupProcessMarkdown, MAN_TO_HTML_$m, \
688+
FILES := $(MAN_$m), \
689+
DEST := $(DOCS_OUTPUTDIR)/specs/man, \
690+
FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
691+
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
692+
REPLACEMENTS := \
693+
@@COPYRIGHT_YEAR@@ => $(COPYRIGHT_YEAR) ; \
694+
@@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
695+
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
696+
OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
697+
POST_PROCESS := $(TOOL_FIXUPPANDOC) --insert-nav --nav-right-info '$(HEADER_RIGHT_SIDE_INFO)' \
698+
--nav-subdirs 1 --nav-link-guides, \
699+
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
700+
$(PANDOC_HTML_MANPAGE_FILTER_SOURCE), \
701+
)) \
702+
$(eval JDK_SPECS_TARGETS += $(MAN_TO_HTML_$m)) \
706703
) \
707704
)
708705

‎make/TestImage.gmk

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ default: all
2828
include $(SPEC)
2929
include MakeBase.gmk
3030

31+
# Hook to include the corresponding custom file, if present.
32+
$(eval $(call IncludeCustomExtension, TestImage-pre.gmk))
33+
3134
############################################################################
3235

3336
BUILD_INFO_PROPERTIES := $(TEST_IMAGE_DIR)/build-info.properties

0 commit comments

Comments
 (0)