Docs.gmk revision 2622:c569c88b7650
1# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. 2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3# 4# This code is free software; you can redistribute it and/or modify it 5# under the terms of the GNU General Public License version 2 only, as 6# published by the Free Software Foundation. Oracle designates this 7# particular file as subject to the "Classpath" exception as provided 8# by Oracle in the LICENSE file that accompanied this code. 9# 10# This code is distributed in the hope that it will be useful, but WITHOUT 11# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13# version 2 for more details (a copy is included in the LICENSE file that 14# accompanied this code). 15# 16# You should have received a copy of the GNU General Public License version 17# 2 along with this work; if not, write to the Free Software Foundation, 18# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19# 20# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21# or visit www.oracle.com if you need additional information or have any 22# questions. 23# 24 25default: all 26 27include $(SPEC) 28include MakeBase.gmk 29include Modules.gmk 30include ProcessMarkdown.gmk 31include ZipArchive.gmk 32include $(JDK_TOPDIR)/make/Tools.gmk 33include $(JDK_TOPDIR)/make/ModuleTools.gmk 34 35# This is needed to properly setup DOCS_MODULES. 36$(eval $(call ReadImportMetaData)) 37 38################################################################################ 39 40# Hook to include the corresponding custom file, if present. 41$(eval $(call IncludeCustomExtension, , Docs.gmk)) 42 43################################################################################ 44# Javadoc settings 45 46# On top of the sources that was used to compile the JDK, we need some 47# extra java.rmi sources that are used just for javadoc. 48MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) \ 49 $(SUPPORT_OUTPUTDIR)/rmic/* $(JDK_TOPDIR)/src/*/share/doc/stub) 50 51# Should we use -Xdocrootparent? Allow custom to overwrite. 52DOCROOTPARENT_FLAG ?= TRUE 53 54# URLs 55JAVADOC_BASE_URL := http://www.oracle.com/pls/topic/lookup?ctx=javase9&id=homepage 56BUG_SUBMIT_URL := http://bugreport.java.com/bugreport/ 57COPYRIGHT_URL := {@docroot}/../legal/cpyr.html 58LICENSE_URL := http://www.oracle.com/technetwork/java/javase/terms/license/java9speclicense.html 59REDISTRIBUTION_URL := http://www.oracle.com/technetwork/java/redist-137594.html 60 61 62# In order to get a specific ordering it's necessary to specify the total 63# ordering of tags as the tags are otherwise ordered in order of definition. 64JAVADOC_TAGS := \ 65 -tag beaninfo:X \ 66 -tag revised:X \ 67 -tag since.unbundled:X \ 68 -tag spec:X \ 69 -tag specdefault:X \ 70 -tag Note:X \ 71 -tag ToDo:X \ 72 -tag 'apiNote:a:API Note:' \ 73 -tag 'implSpec:a:Implementation Requirements:' \ 74 -tag 'implNote:a:Implementation Note:' \ 75 -tag param \ 76 -tag return \ 77 -tag throws \ 78 -taglet build.tools.taglet.ModuleGraph \ 79 -tag since \ 80 -tag version \ 81 -tag serialData \ 82 -tag factory \ 83 -tag see \ 84 -tag 'jvms:a:See <cite>The Java™ Virtual Machine Specification</cite>:' \ 85 -tag 'jls:a:See <cite>The Java™ Language Specification</cite>:' \ 86 -taglet build.tools.taglet.ExtLink \ 87 -taglet build.tools.taglet.Incubating \ 88 -tagletpath $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \ 89 $(CUSTOM_JAVADOC_TAGS) \ 90 # 91 92# Which doclint checks to ignore 93JAVADOC_DISABLED_DOCLINT := accessibility html missing syntax reference 94 95# The initial set of options for javadoc 96JAVADOC_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \ 97 -serialwarn -encoding ISO-8859-1 -breakiterator -splitIndex --system none \ 98 -html5 -javafx --expand-requires transitive 99 100# Should we add DRAFT stamps to the generated javadoc? 101ifeq ($(VERSION_IS_GA), true) 102 IS_DRAFT := false 103else 104 IS_DRAFT := true 105endif 106 107################################################################################ 108# General text snippets 109 110FULL_COMPANY_NAME := Oracle and/or its affiliates 111COMPANY_ADDRESS := 500 Oracle Parkway<br>Redwood Shores, CA 94065 USA 112 113ifeq ($(IS_DRAFT), true) 114 DRAFT_MARKER_STR := <br><strong>DRAFT $(VERSION_STRING)</strong> 115 ifeq ($(VERSION_BUILD), 0) 116 DRAFT_MARKER_TITLE := [ad-hoc build] 117 else 118 DRAFT_MARKER_TITLE := [build $(VERSION_BUILD)] 119 endif 120endif 121 122JAVADOC_WINDOW_TITLE := Java Platform SE $(VERSION_SPECIFICATION) \ 123 $(DRAFT_MARKER_TITLE) 124 125JAVADOC_HEADER_TITLE := $(subst $(SPACE), ,$(strip \ 126 <strong>Java™ Platform<br>Standard Ed. \ 127 $(VERSION_SPECIFICATION)</strong>$(DRAFT_MARKER_STR))) 128 129JAVADOC_BOTTOM := \ 130 <span style="font-size:smaller"> \ 131 <a href="$(BUG_SUBMIT_URL)">Submit a bug or feature</a><br> \ 132 For further API reference and developer documentation, see \ 133 <a href="$(JAVADOC_BASE_URL)/index.html" target="_blank">Java SE \ 134 Documentation</a>. That documentation contains more detailed, \ 135 developer-targeted descriptions, with conceptual overviews, definitions \ 136 of terms, workarounds, and working code examples.<br> \ 137 Java is a trademark or registered trademark of $(FULL_COMPANY_NAME) in \ 138 the US and other countries.<br> \ 139 <a href="$(COPYRIGHT_URL)">Copyright</a> \ 140 © 1993, $(COPYRIGHT_YEAR), $(FULL_COMPANY_NAME). \ 141 $(COMPANY_ADDRESS). All rights reserved. \ 142 Use is subject to <a href="$(LICENSE_URL)">license terms</a>. Also see the \ 143 <a href="$(REDISTRIBUTION_URL)">documentation redistribution policy</a>. \ 144 $(DRAFT_MARKER_STR)</span> 145 146JAVADOC_TOP := \ 147 <div style="background-color: $(HASH)EEEEEE"><div style="padding: 6px; \ 148 margin-top: 2px; margin-bottom: 6px; margin-left: 6px; margin-right: \ 149 6px; text-align: justify; font-size: 80%; font-family: Helvetica, Arial, \ 150 sans-serif; font-weight: normal;">Please note that the specifications \ 151 and other information contained herein are not final and are subject to \ 152 change. The information is being made available to you solely for \ 153 purpose of evaluation.</div></div> 154 155################################################################################ 156# JDK javadoc titles/text snippets 157 158JDK_JAVADOC_DOC_TITLE := Java™ Platform, Standard Edition Development Kit \ 159 (JDK™) $(VERSION_SPECIFICATION)<br>API Specification 160 161################################################################################ 162# Java SE javadoc titles/text snippets 163 164JAVASE_JAVADOC_DOC_TITLE := Java™ Platform, Standard Edition \ 165 $(VERSION_SPECIFICATION)<br>API Specification 166 167################################################################################ 168 169JDK_DOCS_INDEX_HTML_TITLE := Java™ Platform, Standard Edition Development Kit \ 170 (JDK™) $(VERSION_SPECIFICATION) Specification<br>$(DRAFT_MARKER_TITLE) 171 172################################################################################ 173# Functions 174 175# Helper function for creating a png file from a dot file generated by the 176# GenGraphs tool. 177# param 1: SetupJavadocGeneration namespace ($1) 178# param 2: module name 179# 180define setup_gengraph_dot_to_png 181 $1_$2_DOT_SRC := $$($1_GENGRAPHS_DIR)/$2.dot 182 $1_$2_PNG_TARGET := $$($1_TARGET_DIR)/$2-graph.png 183 184 # For each module needing a graph, create a png file from the dot file 185 # generated by the GenGraphs tool and store it in the target dir. 186 $$($1_$2_PNG_TARGET): $$($1_GENGRAPHS_MARKER) 187 $$(call MakeDir, $$(@D)) 188 $$(call ExecuteWithLog, $$($1_$2_DOT_SRC), \ 189 $$(DOT) -Tpng -o $$($1_$2_PNG_TARGET) $$($1_$2_DOT_SRC)) 190 191 $1_MODULEGRAPH_TARGETS += $$($1_$2_PNG_TARGET) 192endef 193 194################################################################################ 195# Setup make rules for creating the API documentation, using javadoc and other 196# tools if needed. 197# 198# Parameter 1 is the name of the rule. This name is used as variable prefix. 199# Targets generated are returned as $1_JAVADOC_TARGETS and 200# $1_MODULEGRAPH_TARGETS. Note that the index.html file will work as a "touch 201# file" for all the magnitude of files that are generated by javadoc. 202# 203# Remaining parameters are named arguments. These include: 204# MODULES - Modules to generate javadoc for 205# NAME - The name of the javadoc compilation, to be presented to the user 206# TARGET_DIR - Where to store the output 207# OVERVIEW - Path to an html overview file 208# DOC_TITLE - Title to use in -doctitle. 209# WINDOW_TITLE - Title to use in -windowtitle. 210# HEADER_TITLE - Title to use in -header. 211# BOTTOM_TEXT - Text to use in -bottom. 212# TOP_TEXT - Text to use in -top. 213# 214SetupApiDocsGeneration = $(NamedParamsMacroTemplate) 215define SetupApiDocsGenerationBody 216 217 # Figure out all modules, both specified and transitive, that will be processed 218 # by javadoc. 219 $1_TRANSITIVE_MODULES := $$(call FindTransitiveDepsForModules, $$($1_MODULES)) 220 $1_ALL_MODULES := $$(sort $$($1_MODULES) $$($1_TRANSITIVE_MODULES)) 221 222 ifeq ($$(ENABLE_FULL_DOCS), true) 223 # Tell the ModuleGraph taglet to generate html links to soon-to-be-created 224 # png files with module graphs. 225 $1_JAVA_ARGS += -DenableModuleGraph=true 226 endif 227 228 # Always include tags and basic options 229 $1_OPTIONS := $$(JAVADOC_TAGS) $$(JAVADOC_OPTIONS) 230 231 $1_OPTIONS += -overview $$($1_OVERVIEW) 232 $1_OPTIONS += --module-source-path $$(MODULES_SOURCE_PATH) 233 $1_OPTIONS += --module $$(call CommaList, $$($1_MODULES)) 234 235 # Create a string like "-Xdoclint:all,-syntax,-html,..." 236 $1_OPTIONS += -Xdoclint:all,$$(call CommaList, $$(addprefix -, \ 237 $$(JAVADOC_DISABLED_DOCLINT))) 238 239 ifeq ($$($$DOCROOTPARENT_FLAG), TRUE) 240 $1_OPTIONS += -Xdocrootparent $$(JAVADOC_BASE_URL) 241 endif 242 243 $1_OPTIONS += -doctitle '$$($1_DOC_TITLE)' 244 $1_OPTIONS += -windowtitle '$$($1_WINDOW_TITLE)' 245 $1_OPTIONS += -header '$$($1_HEADER_TITLE)' 246 $1_OPTIONS += -bottom '$$($1_BOTTOM_TEXT)' 247 ifeq ($$(IS_DRAFT), true) 248 $1_OPTIONS += -top '$$($1_TOP_TEXT)' 249 endif 250 251 # Do not store debug level options in VARDEPS. 252 ifneq ($$(LOG_LEVEL), trace) 253 $1_LOG_OPTION += -quiet 254 else 255 $1_LOG_OPTION += -verbose 256 endif 257 258 $1_VARDEPS := $$($1_JAVA_ARGS) $$($1_OPTIONS) $$(MODULES_SOURCE_PATH) \ 259 $$($1_ALL_MODULES) 260 $1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \ 261 $$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps) 262 263 # Get a list of all files in all the source dirs for all included modules 264 $1_SOURCE_DEPS := $$(call CacheFind, $$(wildcard $$(foreach module, \ 265 $$($1_ALL_MODULES), $$(call FindModuleSrcDirs, $$(module))))) 266 267 # Javadoc creates a lot of files but use index.html as a marker 268 $$($1_TARGET_DIR)/index.html: $$(BUILD_TOOLS_JDK) $$($1_VARDEPS_FILE) \ 269 $$($1_SOURCE_DEPS) $$($1_OVERVIEW) 270 $$(call LogWarn, Generating $$($1_NAME) API javadoc for \ 271 $$(words $$($1_ALL_MODULES)) modules) 272 $$(call LogInfo, Javadoc modules: $$($1_ALL_MODULES)) 273 $$(call MakeDir, $$($1_TARGET_DIR)) 274 $$(call ExecuteWithLog, $$(SUPPORT_OUTPUTDIR)/docs/$1, \ 275 $$(JAVA) -Djava.awt.headless=true $$($1_JAVA_ARGS) \ 276 $$(NEW_JAVADOC) -d $$($1_TARGET_DIR) \ 277 $$(JAVADOC_TAGS) $$($1_OPTIONS) $$($1_LOG_OPTION)) 278 279 $1_JAVADOC_TARGETS := $$($1_TARGET_DIR)/index.html 280 281 ifeq ($$(ENABLE_FULL_DOCS), true) 282 # We have asked ModuleGraph to generate links to png files. Now we must 283 # produce the png files. 284 285 # Locate which modules has the @moduleGraph tag in their module-info.java 286 $1_MODULES_NEEDING_GRAPH := $$(strip $$(foreach m, $$($1_ALL_MODULES), \ 287 $$(if $$(shell $$(GREP) -e @moduleGraph \ 288 $$(wildcard $$(addsuffix /module-info.java, \ 289 $$(call FindModuleSrcDirs, $$m)))), \ 290 $$m) \ 291 )) 292 293 # First we run the GenGraph tool. It will query the module structure of the 294 # running JVM and output .dot files for all existing modules. 295 GENGRAPHS_PROPS := \ 296 $$(JDK_TOPDIR)/make/src/classes/build/tools/jigsaw/javadoc-graphs.properties 297 298 $1_GENGRAPHS_DIR := $$(SUPPORT_OUTPUTDIR)/docs/$1-gengraphs 299 $1_GENGRAPHS_MARKER := $$($1_GENGRAPHS_DIR)/_gengraphs_run.marker 300 301 $$($1_GENGRAPHS_MARKER): $$(BUILD_JIGSAW_TOOLS) $$(GENGRAPHS_PROPS) 302 $$(call LogInfo, Running gengraphs for $$($1_NAME) API documentation) 303 $$(call MakeDir, $$($1_GENGRAPHS_DIR)) 304 $$(call ExecuteWithLog, $$($1_GENGRAPHS_DIR)/gengraphs, \ 305 $$(TOOL_GENGRAPHS) --spec --output $$($1_GENGRAPHS_DIR) \ 306 --dot-attributes $$(GENGRAPHS_PROPS) && \ 307 $$(TOUCH) $$($1_GENGRAPHS_MARKER)) 308 309 # For each module needing a graph, create a png file from the dot file 310 # generated by the GenGraphs tool and store it in the target dir. 311 # They will depend on $1_GENGRAPHS_MARKER, and will be added to $1. 312 $$(foreach m, $$($1_MODULES_NEEDING_GRAPH), \ 313 $$(eval $$(call setup_gengraph_dot_to_png,$1,$$m)) \ 314 ) 315 endif 316endef 317 318################################################################################ 319# Setup generation of the JDK API documentation (javadoc + modulegraph) 320 321# All modules to have docs generated by docs-jdk-api target 322JDK_JAVADOC_MODULES := $(sort $(DOCS_MODULES)) 323 324JDK_JAVADOC_OVERVIEW := $(JDK_TOPDIR)/src/java.base/share/classes/overview-core.html 325 326$(eval $(call SetupApiDocsGeneration, JDK_API, \ 327 MODULES := $(JDK_JAVADOC_MODULES), \ 328 NAME := JDK, \ 329 TARGET_DIR := $(DOCS_OUTPUTDIR)/api, \ 330 OVERVIEW := $(JDK_JAVADOC_OVERVIEW), \ 331 DOC_TITLE := $(JDK_JAVADOC_DOC_TITLE), \ 332 WINDOW_TITLE := $(JAVADOC_WINDOW_TITLE), \ 333 HEADER_TITLE := $(JAVADOC_HEADER_TITLE), \ 334 BOTTOM_TEXT := $(JAVADOC_BOTTOM), \ 335 TOP_TEXT := $(JAVADOC_TOP), \ 336)) 337 338# Targets generated are returned in JDK_API_JAVADOC_TARGETS and 339# JDK_API_MODULEGRAPH_TARGETS. 340 341################################################################################ 342# Setup generation of the Java SE API documentation (javadoc + modulegraph) 343 344# The Java SE module scope is just java.se.ee and it's transitive modules. 345JAVASE_JAVADOC_MODULES := java.se.ee 346 347JAVASE_JAVADOC_OVERVIEW := $(JDK_TOPDIR)/src/java.base/share/classes/overview-core.html 348 349$(eval $(call SetupApiDocsGeneration, JAVASE_API, \ 350 MODULES := $(JAVASE_JAVADOC_MODULES), \ 351 NAME := Java SE, \ 352 TARGET_DIR := $(IMAGES_OUTPUTDIR)/javase-docs/api, \ 353 OVERVIEW := $(JAVASE_JAVADOC_OVERVIEW), \ 354 DOC_TITLE := $(JAVASE_JAVADOC_DOC_TITLE), \ 355 WINDOW_TITLE := $(JAVADOC_WINDOW_TITLE), \ 356 HEADER_TITLE := $(JAVADOC_HEADER_TITLE), \ 357 BOTTOM_TEXT := $(JAVADOC_BOTTOM), \ 358 TOP_TEXT := $(JAVADOC_TOP), \ 359)) 360 361# Targets generated are returned in JAVASE_API_JAVADOC_TARGETS and 362# JAVASE_API_MODULEGRAPH_TARGETS. 363 364################################################################################ 365 366JDK_DOCS_INDEX_HTML := $(DOCS_OUTPUTDIR)/index.html 367 368$(JDK_DOCS_INDEX_HTML): $(BUILD_JIGSAW_TOOLS) 369 $(call LogInfo, Generating docs bundle index page) 370 $(MKDIR) -p $(@D) 371 $(TOOL_GEN_DOCS_BUNDLE_PAGE) --title '$(JDK_DOCS_INDEX_HTML_TITLE)' \ 372 --output $@ 373 374JDK_DOCS_INDEX_HTML_TARGETS := $(JDK_DOCS_INDEX_HTML) 375 376################################################################################ 377# Copy JDK specs files 378 379# For all html documentation in $module/share/specs directories, copy it 380# unmodified 381 382ALL_MODULES := $(call FindAllModules) 383COPY_SPEC_FILTER := %.html %.gif %.jpg %.mib %.css 384 385$(foreach m, $(ALL_MODULES), \ 386 $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \ 387 $(foreach d, $(SPECS_$m), \ 388 $(if $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \ 389 $(eval $(call SetupCopyFiles, COPY_$m, \ 390 SRC := $d, \ 391 FILES := $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \ 392 DEST := $(DOCS_OUTPUTDIR)/specs/, \ 393 )) \ 394 $(eval JDK_SPECS_TARGETS += $(COPY_$m)) \ 395 ) \ 396 ) \ 397) 398 399# Copy the global resources 400GLOBAL_SPECS_RESOURCES_DIR := $(JDK_TOPDIR)/make/data/docs-resources/specs 401$(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \ 402 SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \ 403 FILES := $(call CacheFind, $(GLOBAL_SPECS_RESOURCES_DIR)), \ 404 DEST := $(DOCS_OUTPUTDIR)/specs/, \ 405)) 406JDK_SPECS_TARGETS += $(COPY_GLOBAL_RESOURCES) 407 408ifeq ($(ENABLE_FULL_DOCS), true) 409 # For all markdown files in $module/share/specs directories, convert them to 410 # html. 411 412 GLOBAL_SPECS_DEFAULT_CSS_FILE := $(DOCS_OUTPUTDIR)/specs/resources/jdk-default.css 413 414 $(foreach m, $(ALL_MODULES), \ 415 $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \ 416 $(foreach d, $(SPECS_$m), \ 417 $(if $(filter %.md, $(call CacheFind, $d)), \ 418 $(eval $(call SetupProcessMarkdown, CONVERT_MARKDOWN_$m_$(patsubst $(TOPDIR)/%,%,$d), \ 419 SRC := $d, \ 420 FILES := $(filter %.md, $(call CacheFind, $d)), \ 421 DEST := $(DOCS_OUTPUTDIR)/specs/, \ 422 CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \ 423 )) \ 424 ) \ 425 $(eval JDK_SPECS_TARGETS += $(CONVERT_MARKDOWN_$m_$(patsubst $(TOPDIR)/%,%,$d))) \ 426 ) \ 427 ) 428endif 429 430# Special treatment for generated documentation 431 432JDWP_PROTOCOL := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html 433$(eval $(call SetupCopyFiles, COPY_JDWP_PROTOCOL, \ 434 FILES := $(JDWP_PROTOCOL), \ 435 DEST := $(DOCS_OUTPUTDIR)/specs/jdwp, \ 436)) 437JDK_SPECS_TARGETS += $(COPY_JDWP_PROTOCOL) 438 439# Get jvmti.html from the main jvm variant (all variants' jvmti.html are identical). 440JVMTI_HTML := $(HOTSPOT_OUTPUTDIR)/variant-$(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html 441$(eval $(call SetupCopyFiles, COPY_JVMTI_HTML, \ 442 FILES := $(JVMTI_HTML), \ 443 DEST := $(DOCS_OUTPUTDIR)/specs, \ 444)) 445JDK_SPECS_TARGETS += $(COPY_JVMTI_HTML) 446 447################################################################################ 448# Optional target which bundles all generated javadocs into a zip archive. 449 450JAVADOC_ZIP_NAME := jdk-$(VERSION_STRING)-docs.zip 451JAVADOC_ZIP_FILE := $(OUTPUT_ROOT)/bundles/$(JAVADOC_ZIP_NAME) 452 453$(eval $(call SetupZipArchive, BUILD_JAVADOC_ZIP, \ 454 SRC := $(DOCS_OUTPUTDIR), \ 455 ZIP := $(JAVADOC_ZIP_FILE), \ 456 EXTRA_DEPS := $(JDK_API_JAVADOC_TARGETS) $(JDK_API_MODULEGRAPH_TARGETS) \ 457 $(JDK_SPECS_TARGETS), \ 458)) 459 460ZIP_TARGETS += $(BUILD_JAVADOC_ZIP) 461 462################################################################################ 463 464docs-jdk-api-javadoc: $(JDK_API_JAVADOC_TARGETS) $(JDK_API_CUSTOM_TARGETS) 465 466docs-jdk-api-modulegraph: $(JDK_API_MODULEGRAPH_TARGETS) 467 468docs-javase-api-javadoc: $(JAVASE_API_JAVADOC_TARGETS) $(JAVASE_API_CUSTOM_TARGETS) 469 470docs-javase-api-modulegraph: $(JAVASE_API_MODULEGRAPH_TARGETS) 471 472docs-jdk-specs: $(JDK_SPECS_TARGETS) 473 474docs-jdk-index: $(JDK_DOCS_INDEX_HTML_TARGETS) 475 476docs-zip: $(ZIP_TARGETS) 477 478all: docs-jdk-api-javadoc docs-jdk-api-modulegraph docs-javase-api-javadoc \ 479 docs-javase-api-modulegraph docs-jdk-specs docs-jdk-index docs-zip 480 481.PHONY: default all docs-jdk-api-javadoc docs-jdk-api-modulegraph \ 482 docs-javase-api-javadoc docs-javase-api-modulegraph docs-jdk-specs \ 483 docs-jdk-index docs-zip 484