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