388 |
388 |
389 $(foreach m, $(ALL_MODULES), \ |
389 $(foreach m, $(ALL_MODULES), \ |
390 $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \ |
390 $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \ |
391 $(foreach d, $(SPECS_$m), \ |
391 $(foreach d, $(SPECS_$m), \ |
392 $(if $(filter %.md, $(call CacheFind, $d)), \ |
392 $(if $(filter %.md, $(call CacheFind, $d)), \ |
393 $(eval $(call SetupProcessMarkdown, CONVERT_MARKDOWN_$m_$d, \ |
393 $(eval $(call SetupProcessMarkdown, CONVERT_MARKDOWN_$m_$(patsubst $(TOPDIR)/%,%,$d), \ |
394 SRC := $d, \ |
394 SRC := $d, \ |
395 FILES := $(filter %.md, $(call CacheFind, $d)), \ |
395 FILES := $(filter %.md, $(call CacheFind, $d)), \ |
396 DEST := $(JAVADOC_OUTPUTDIR)/specs/, \ |
396 DEST := $(JAVADOC_OUTPUTDIR)/specs/, \ |
397 CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \ |
397 CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \ |
398 )) \ |
398 )) \ |
399 ) \ |
399 ) \ |
400 $(eval JDK_SPECS_TARGETS += $(CONVERT_MARKDOWN_$m_$d)) \ |
400 $(eval JDK_SPECS_TARGETS += $(CONVERT_MARKDOWN_$m_$(patsubst $(TOPDIR)/%,%,$d))) \ |
401 ) \ |
401 ) \ |
402 ) |
402 ) |
403 endif |
403 endif |
404 |
404 |
405 # Special treatment for generated documentation |
405 # Special treatment for generated documentation |