annotate make/Docs.gmk @ 58698:f7df2861be47

8232276: Problem list serviceability/sa/ClhsdbJstackXcompStress.java Reviewed-by: sgehwolf, dholmes
author cjplummer
date Fri, 18 Oct 2019 14:07:47 -0700
parents 0bf678dd8951
children ebb1ff3d6707 9c3209ff7550
rev   line source
ihse@53995 1 # Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
ohair@13697 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@13697 3 #
ohair@13697 4 # This code is free software; you can redistribute it and/or modify it
ohair@13697 5 # under the terms of the GNU General Public License version 2 only, as
ohair@13697 6 # published by the Free Software Foundation. Oracle designates this
ohair@13697 7 # particular file as subject to the "Classpath" exception as provided
ohair@13697 8 # by Oracle in the LICENSE file that accompanied this code.
ohair@13697 9 #
ohair@13697 10 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@13697 11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@13697 12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@13697 13 # version 2 for more details (a copy is included in the LICENSE file that
ohair@13697 14 # accompanied this code).
ohair@13697 15 #
ohair@13697 16 # You should have received a copy of the GNU General Public License version
ohair@13697 17 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@13697 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@13697 19 #
ohair@13697 20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@13697 21 # or visit www.oracle.com if you need additional information or have any
ohair@13697 22 # questions.
ohair@13697 23 #
ohair@13697 24
ihse@41652 25 default: all
ihse@41652 26
ohair@13697 27 include $(SPEC)
ohair@13697 28 include MakeBase.gmk
ihse@53995 29 include Execute.gmk
ihse@44725 30 include Modules.gmk
ihse@52940 31 include ModuleTools.gmk
ihse@44983 32 include ProcessMarkdown.gmk
ihse@52940 33 include ToolsJdk.gmk
ihse@44725 34 include ZipArchive.gmk
erikj@54747 35 include TextFileProcessing.gmk
ohair@13697 36
ihse@44725 37 # This is needed to properly setup DOCS_MODULES.
ihse@44725 38 $(eval $(call ReadImportMetaData))
ihse@44725 39
ihse@41652 40 ################################################################################
ihse@44827 41 # Hook to include the corresponding custom file, if present.
ihse@47314 42 $(eval $(call IncludeCustomExtension, Docs.gmk))
ihse@44827 43
ihse@44827 44 ################################################################################
ihse@45323 45 # This file generates all documentation for OpenJDK.
ihse@45323 46 #
ihse@45323 47 # We will generate API documentation for two different selections of the source
ihse@45323 48 # code: "Java SE", which contains just the modules covered by the top-level
lancea@48841 49 # module java.se and "JDK", which covers all of Java SE and also all
ihse@45323 50 # other available modules that should be documented, including imported modules,
ihse@45323 51 # if any.
ihse@45323 52 #
ihse@45323 53 # We will also generate separate, free-standing specifications from either
ihse@45323 54 # markdown or existing html files.
ihse@45323 55 #
ihse@45323 56
ihse@45323 57 ################################################################################
ihse@44725 58 # Javadoc settings
ohair@13697 59
ihse@44725 60 # On top of the sources that was used to compile the JDK, we need some
ihse@44725 61 # extra java.rmi sources that are used just for javadoc.
ihse@44726 62 MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) \
erikj@47217 63 $(SUPPORT_OUTPUTDIR)/rmic/* $(TOPDIR)/src/*/share/doc/stub)
alanb@36506 64
ihse@41652 65 # URLs
jjg@52318 66 JAVADOC_BASE_URL := https://docs.oracle.com/pls/topic/lookup?ctx=javase$(VERSION_NUMBER)&id=homepage
iris@52296 67 BUG_SUBMIT_URL := https://bugreport.java.com/bugreport/
erikj@54747 68 COPYRIGHT_URL := legal/copyright.html
iris@52296 69 LICENSE_URL := https://www.oracle.com/technetwork/java/javase/terms/license/java$(VERSION_NUMBER)speclicense.html
iris@52296 70 REDISTRIBUTION_URL := https://www.oracle.com/technetwork/java/redist-137594.html
ihse@44990 71
ihse@42135 72 # In order to get a specific ordering it's necessary to specify the total
ihse@42135 73 # ordering of tags as the tags are otherwise ordered in order of definition.
ihse@44725 74 JAVADOC_TAGS := \
ihse@42135 75 -tag beaninfo:X \
ihse@42135 76 -tag revised:X \
ihse@42135 77 -tag since.unbundled:X \
ihse@42135 78 -tag spec:X \
ihse@42135 79 -tag specdefault:X \
ihse@42135 80 -tag Note:X \
ihse@42135 81 -tag ToDo:X \
ihse@42135 82 -tag 'apiNote:a:API Note:' \
ihse@42135 83 -tag 'implSpec:a:Implementation Requirements:' \
ihse@42135 84 -tag 'implNote:a:Implementation Note:' \
ihse@42135 85 -tag param \
ihse@42135 86 -tag return \
ihse@42135 87 -tag throws \
jjg@54953 88 -taglet build.tools.taglet.JSpec\$$JLS \
jjg@54953 89 -taglet build.tools.taglet.JSpec\$$JVMS \
mchung@44397 90 -taglet build.tools.taglet.ModuleGraph \
jjg@54950 91 -taglet build.tools.taglet.ToolGuide \
ihse@42135 92 -tag since \
ihse@42135 93 -tag serialData \
ihse@42135 94 -tag factory \
ihse@42135 95 -tag see \
ksrini@44826 96 -taglet build.tools.taglet.ExtLink \
chegar@43285 97 -taglet build.tools.taglet.Incubating \
chegar@43285 98 -tagletpath $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
ihse@44827 99 $(CUSTOM_JAVADOC_TAGS) \
ihse@42135 100 #
ihse@42135 101
ihse@47432 102 # The reference tags must stay stable to allow for comparisons across the
ihse@47432 103 # development cycle. If JAVADOC_TAGS needs to change, make sure that
ihse@47432 104 # REFERENCE_TAGS remains unchanged, by copying and hardcoding, if necessary.
ihse@47432 105 REFERENCE_TAGS := $(JAVADOC_TAGS)
ihse@47432 106
ihse@44725 107 # Which doclint checks to ignore
ihse@44725 108 JAVADOC_DISABLED_DOCLINT := accessibility html missing syntax reference
ihse@44725 109
ihse@44725 110 # The initial set of options for javadoc
jjg@46087 111 JAVADOC_OPTIONS := -use -keywords -notimestamp \
jjg@46087 112 -serialwarn -encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
bpatel@49428 113 -splitIndex --system none -javafx --expand-requires transitive \
ksrini@47429 114 --override-methods=summary
ihse@41652 115
ihse@47432 116 # The reference options must stay stable to allow for comparisons across the
ihse@47432 117 # development cycle.
ihse@47432 118 REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
ihse@47432 119 -serialwarn -encoding ISO-8859-1 -breakiterator -splitIndex --system none \
ihse@47432 120 -html5 -javafx --expand-requires transitive
ihse@47432 121
ihse@44725 122 # Should we add DRAFT stamps to the generated javadoc?
ihse@44725 123 ifeq ($(VERSION_IS_GA), true)
ihse@44725 124 IS_DRAFT := false
ihse@44725 125 else
ihse@44725 126 IS_DRAFT := true
ihse@44725 127 endif
ohair@13697 128
ihse@41652 129 ################################################################################
ihse@44725 130 # General text snippets
alanb@36506 131
ihse@44725 132 FULL_COMPANY_NAME := Oracle and/or its affiliates
mr@45616 133 COMPANY_ADDRESS := 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@13697 134
mr@45616 135 JAVA_PLATFORM := Java Platform
ihse@45323 136
ihse@44725 137 ifeq ($(IS_DRAFT), true)
ihse@44725 138 DRAFT_MARKER_STR := <br><strong>DRAFT $(VERSION_STRING)</strong>
ihse@44725 139 ifeq ($(VERSION_BUILD), 0)
ihse@44725 140 DRAFT_MARKER_TITLE := [ad-hoc build]
ihse@44725 141 else
ihse@44725 142 DRAFT_MARKER_TITLE := [build $(VERSION_BUILD)]
ihse@44725 143 endif
mr@45616 144 DRAFT_TEXT := This specification is not final and is subject to change. \
mr@45616 145 Use is subject to <a href="$(LICENSE_URL)">license terms</a>.
ihse@47432 146
ihse@47432 147 # Workaround stylesheet bug
ihse@47432 148 HEADER_STYLE := style="margin-top: 9px;"
ihse@47432 149 else
ihse@47432 150 HEADER_STYLE := style="margin-top: 14px;"
ihse@44725 151 endif
ihse@44725 152
erikj@54747 153 # $1 - Relative prefix to COPYRIGHT_URL
erikj@54747 154 COPYRIGHT_BOTTOM = \
erikj@54747 155 <a href="$(strip $1)$(COPYRIGHT_URL)">Copyright</a> \
erikj@54747 156 &copy; 1993, $(COPYRIGHT_YEAR), $(FULL_COMPANY_NAME), \
erikj@54747 157 $(COMPANY_ADDRESS).<br>All rights reserved. \
erikj@54747 158 Use is subject to <a href="$(LICENSE_URL)">license terms</a> and the \
erikj@54747 159 <a href="$(REDISTRIBUTION_URL)">documentation redistribution policy</a>. \
erikj@54747 160 $(DRAFT_MARKER_STR) <!-- Version $(VERSION_STRING) -->
erikj@54747 161
ihse@44725 162 JAVADOC_BOTTOM := \
mr@45616 163 <a href="$(BUG_SUBMIT_URL)">Report a bug or suggest an enhancement</a><br> \
mr@45616 164 For further API reference and developer documentation see the \
ihse@45108 165 <a href="$(JAVADOC_BASE_URL)" target="_blank">Java SE \
mr@45616 166 Documentation</a>, which contains more detailed, \
mr@45616 167 developer-targeted descriptions with conceptual overviews, definitions \
ihse@44725 168 of terms, workarounds, and working code examples.<br> \
ihse@44725 169 Java is a trademark or registered trademark of $(FULL_COMPANY_NAME) in \
ihse@44725 170 the US and other countries.<br> \
erikj@54747 171 $(call COPYRIGHT_BOTTOM, {@docroot}/../)
mr@45616 172
ihse@44725 173 JAVADOC_TOP := \
mr@45616 174 <div style="padding: 6px; text-align: center; font-size: 80%; \
mr@45616 175 font-family: DejaVu Sans, Arial, Helvetica, sans-serif; \
mr@45616 176 font-weight: normal;">$(DRAFT_TEXT)</div>
ksrini@35367 177
ihse@41652 178 ################################################################################
ihse@44726 179 # JDK javadoc titles/text snippets
ksrini@35367 180
mr@45616 181 JDK_SHORT_NAME := Java SE $(VERSION_SPECIFICATION) &amp; JDK $(VERSION_SPECIFICATION)
mr@45616 182 JDK_LONG_NAME := Java<sup>&reg;</sup> Platform, Standard Edition \
mr@45775 183 &amp;&nbsp;Java&nbsp;Development&nbsp;Kit
ihse@44726 184
ihse@44726 185 ################################################################################
ihse@44726 186 # Java SE javadoc titles/text snippets
ihse@44726 187
mr@45616 188 JAVASE_SHORT_NAME := Java SE $(VERSION_SPECIFICATION)
mr@45616 189 JAVASE_LONG_NAME := Java<sup>&reg;</sup> Platform, Standard Edition
ksrini@35367 190
ihse@41652 191 ################################################################################
ihse@44726 192 # Functions
alanb@36506 193
ihse@44726 194 # Helper function for creating a png file from a dot file generated by the
ihse@44726 195 # GenGraphs tool.
ihse@44726 196 # param 1: SetupJavadocGeneration namespace ($1)
ihse@44726 197 # param 2: module name
ihse@44726 198 #
ihse@44726 199 define setup_gengraph_dot_to_png
ihse@44726 200 $1_$2_DOT_SRC := $$($1_GENGRAPHS_DIR)/$2.dot
jjg@48759 201 $1_$2_PNG_TARGET := $$($1_TARGET_DIR)/$2/module-graph.png
ksrini@35367 202
ihse@44726 203 # For each module needing a graph, create a png file from the dot file
ihse@44726 204 # generated by the GenGraphs tool and store it in the target dir.
ihse@53995 205 $$(eval $$(call SetupExecute, gengraphs_png_$1_$2, \
ihse@53995 206 INFO := Running dot for module graphs for $2, \
ihse@53995 207 DEPS := $$(gengraphs_$1_TARGET), \
ihse@53995 208 OUTPUT_FILE := $$($1_$2_PNG_TARGET), \
ihse@53995 209 SUPPORT_DIR := $$($1_GENGRAPHS_DIR), \
ihse@53995 210 COMMAND := $$(DOT) -Tpng -o $$($1_$2_PNG_TARGET) $$($1_$2_DOT_SRC), \
ihse@53995 211 ))
ihse@44725 212
ihse@44726 213 $1_MODULEGRAPH_TARGETS += $$($1_$2_PNG_TARGET)
ihse@44726 214 endef
ksrini@35367 215
ihse@45323 216 # Helper function to create the overview.html file to use with the -overview
ihse@45323 217 # javadoc option.
ihse@45323 218 # Returns the filename as $1_OVERVIEW.
ihse@45323 219 #
ihse@45323 220 # param 1: SetupJavadocGeneration namespace ($1)
ihse@45323 221 define create_overview_file
ihse@45323 222 $1_OVERVIEW_TEXT := \
ihse@45323 223 <!DOCTYPE html> \
ihse@45323 224 <html><head></head><body> \
ihse@45323 225 #
ihse@45323 226 ifneq ($$($1_GROUPS),)
ihse@45323 227 $1_OVERVIEW_TEXT += \
mr@45616 228 <p>This document is divided into \
mr@45616 229 $$(subst 2,two,$$(subst 3,three,$$(words $$($1_GROUPS)))) sections:</p> \
mr@45616 230 <blockquote><dl> \
mr@45616 231 #
ihse@45323 232 $1_OVERVIEW_TEXT += $$(foreach g, $$($1_GROUPS), \
pmuthuswamy@52204 233 <dt style="margin-top: 8px;">$$($$g_GROUP_NAME)</dt> \
mr@45775 234 <dd style="margin-top: 8px;">$$($$g_GROUP_DESCRIPTION)</dd> \
ihse@45323 235 )
ihse@45323 236 $1_OVERVIEW_TEXT += \
mr@45775 237 </dl></blockquote> \
ihse@45323 238 #
ihse@45323 239 endif
ihse@45323 240 $1_OVERVIEW_TEXT += \
ihse@45323 241 </body></html> \
ihse@45323 242 #
ihse@45323 243
ihse@45323 244 $1_OVERVIEW := $$(SUPPORT_OUTPUTDIR)/docs/$1-overview.html
ihse@45323 245
ihse@45323 246 $1_OVERVIEW_VARDEPS_FILE := $$(call DependOnVariable, $1_OVERVIEW_TEXT, \
ihse@45323 247 $$($1_OVERVIEW).vardeps)
ihse@45323 248
ihse@45323 249 $$($1_OVERVIEW): $$($1_OVERVIEW_VARDEPS_FILE)
ihse@45323 250 $$(call LogInfo, Creating overview.html for $1)
ihse@45323 251 $$(call MakeDir, $$(@D))
ihse@45323 252 $$(PRINTF) > $$@ '$$($1_OVERVIEW_TEXT)'
ihse@45323 253 endef
ihse@45323 254
ihse@41652 255 ################################################################################
ihse@45323 256 # Setup make rules to create an API documentation collection, using javadoc and
ihse@45323 257 # other tools if needed.
ihse@44726 258 #
ihse@44726 259 # Parameter 1 is the name of the rule. This name is used as variable prefix.
ihse@44726 260 # Targets generated are returned as $1_JAVADOC_TARGETS and
ihse@44726 261 # $1_MODULEGRAPH_TARGETS. Note that the index.html file will work as a "touch
ihse@44726 262 # file" for all the magnitude of files that are generated by javadoc.
ihse@44726 263 #
ihse@44726 264 # Remaining parameters are named arguments. These include:
ihse@44726 265 # MODULES - Modules to generate javadoc for
ihse@45323 266 # GROUPS - Name of the groups to divide the modules into, if any
ihse@45323 267 # SHORT_NAME - The short name of this documentation collection
ihse@45323 268 # LONG_NAME - The long name of this documentation collection
ihse@44726 269 # TARGET_DIR - Where to store the output
ihse@44726 270 #
ihse@44726 271 SetupApiDocsGeneration = $(NamedParamsMacroTemplate)
ihse@44726 272 define SetupApiDocsGenerationBody
ksrini@35367 273
ihse@45233 274 # Figure out all modules, both specified and transitive indirect exports, that
ihse@45233 275 # will be processed by javadoc.
ihse@45233 276 $1_INDIRECT_EXPORTS := $$(call FindTransitiveIndirectDepsForModules, $$($1_MODULES))
ihse@45233 277 $1_ALL_MODULES := $$(sort $$($1_MODULES) $$($1_INDIRECT_EXPORTS))
ksrini@35367 278
jjg@54953 279 $1_JAVA_ARGS := -Dextlink.spec.version=$$(VERSION_SPECIFICATION) \
jjg@54953 280 -Djspec.version=$$(VERSION_SPECIFICATION)
mchung@50969 281
ihse@44726 282 ifeq ($$(ENABLE_FULL_DOCS), true)
ihse@44726 283 # Tell the ModuleGraph taglet to generate html links to soon-to-be-created
ihse@44726 284 # png files with module graphs.
ihse@44726 285 $1_JAVA_ARGS += -DenableModuleGraph=true
ihse@44726 286 endif
ihse@44725 287
ihse@47432 288 # Start with basic options and tags
ihse@47432 289 ifeq ($$($1_OPTIONS), )
ihse@47432 290 $1_OPTIONS := $$(JAVADOC_OPTIONS)
ihse@47432 291 endif
ihse@47432 292 ifeq ($$($1_TAGS), )
ihse@47432 293 $1_TAGS := $$(JAVADOC_TAGS)
ihse@47432 294 endif
ihse@47432 295 $1_OPTIONS += $$($1_TAGS)
ihse@44725 296
ihse@44726 297 $1_OPTIONS += --module-source-path $$(MODULES_SOURCE_PATH)
ihse@44726 298 $1_OPTIONS += --module $$(call CommaList, $$($1_MODULES))
ihse@44725 299
ihse@44726 300 # Create a string like "-Xdoclint:all,-syntax,-html,..."
ihse@44726 301 $1_OPTIONS += -Xdoclint:all,$$(call CommaList, $$(addprefix -, \
ihse@44726 302 $$(JAVADOC_DISABLED_DOCLINT)))
ihse@44726 303
ihse@47432 304 $1_DOC_TITLE := $$($1_LONG_NAME)<br>Version $$(VERSION_SPECIFICATION) API \
ihse@47432 305 Specification
ihse@47432 306 $1_WINDOW_TITLE := $$(subst &amp;,&,$$($1_SHORT_NAME)) $$(DRAFT_MARKER_TITLE)
ihse@47432 307 $1_HEADER_TITLE := <div $$(HEADER_STYLE)><strong>$$($1_SHORT_NAME)</strong> \
mr@45616 308 $$(DRAFT_MARKER_STR)</div>
ihse@45323 309
ihse@44726 310 $1_OPTIONS += -doctitle '$$($1_DOC_TITLE)'
ihse@44726 311 $1_OPTIONS += -windowtitle '$$($1_WINDOW_TITLE)'
ihse@44726 312 $1_OPTIONS += -header '$$($1_HEADER_TITLE)'
ihse@45323 313 $1_OPTIONS += -bottom '$$(JAVADOC_BOTTOM)'
ihse@44726 314 ifeq ($$(IS_DRAFT), true)
ihse@45323 315 $1_OPTIONS += -top '$$(JAVADOC_TOP)'
ihse@44726 316 endif
ihse@44726 317
ihse@44726 318 # Do not store debug level options in VARDEPS.
ihse@44726 319 ifneq ($$(LOG_LEVEL), trace)
ihse@44726 320 $1_LOG_OPTION += -quiet
ihse@44726 321 else
ihse@44726 322 $1_LOG_OPTION += -verbose
ihse@44726 323 endif
ihse@44726 324
ihse@45323 325 # Generate the overview.html file. This will return the filename in
ihse@45323 326 # $1_OVERVIEW.
ihse@45323 327 $$(eval $$(call create_overview_file,$1))
ihse@45323 328 $1_OPTIONS += -overview $$($1_OVERVIEW)
ihse@45323 329
ihse@45323 330 $$(foreach g, $$($1_GROUPS), \
ihse@45323 331 $$(eval $1_OPTIONS += -group "$$($$g_GROUP_NAME)" "$$($$g_GROUP_MODULES)") \
ihse@45323 332 )
ihse@45323 333
ihse@47432 334 ifeq ($$($1_JAVADOC_CMD), )
mchung@50969 335 $1_JAVADOC_CMD := $$(JAVA) -Djava.awt.headless=true $$($1_JAVA_ARGS) \
ihse@47432 336 $$(NEW_JAVADOC)
mchung@50969 337 else
ihse@52714 338 $1_OPTIONS += $$(addprefix -J, $$($1_JAVA_ARGS))
ihse@47432 339 endif
ihse@47432 340
ihse@44726 341 $1_VARDEPS := $$($1_JAVA_ARGS) $$($1_OPTIONS) $$(MODULES_SOURCE_PATH) \
ihse@47432 342 $$($1_ALL_MODULES) $$($1_JAVADOC_CMD)
ihse@44726 343 $1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
ihse@44726 344 $$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps)
ihse@44726 345
ihse@44726 346 # Get a list of all files in all the source dirs for all included modules
erikj@54380 347 $1_SOURCE_DEPS := $$(call FindFiles, $$(wildcard $$(foreach module, \
ihse@44726 348 $$($1_ALL_MODULES), $$(call FindModuleSrcDirs, $$(module)))))
ihse@44726 349
ihse@53995 350 $$(eval $$(call SetupExecute, javadoc_$1, \
ihse@53995 351 WARN := Generating $1 javadoc for $$(words $$($1_ALL_MODULES)) modules, \
ihse@53995 352 INFO := Javadoc modules: $$($1_ALL_MODULES), \
ihse@53995 353 DEPS := $$(BUILD_TOOLS_JDK) $$($1_VARDEPS_FILE) $$($1_SOURCE_DEPS) \
ihse@53995 354 $$($1_OVERVIEW), \
ihse@53995 355 OUTPUT_DIR := $$($1_TARGET_DIR), \
ihse@53995 356 SUPPORT_DIR := $$(SUPPORT_OUTPUTDIR)/docs, \
ihse@53995 357 COMMAND := $$($1_JAVADOC_CMD) -d $$($1_TARGET_DIR) $$($1_OPTIONS) \
ihse@53995 358 $$($1_LOG_OPTION), \
ihse@53995 359 ))
ihse@44726 360
ihse@53995 361 $1_JAVADOC_TARGETS := $$(javadoc_$1_TARGET)
ihse@44726 362
ihse@44726 363 ifeq ($$(ENABLE_FULL_DOCS), true)
ihse@44726 364 # We have asked ModuleGraph to generate links to png files. Now we must
ihse@44726 365 # produce the png files.
ihse@44726 366
ihse@44726 367 # Locate which modules has the @moduleGraph tag in their module-info.java
ihse@44726 368 $1_MODULES_NEEDING_GRAPH := $$(strip $$(foreach m, $$($1_ALL_MODULES), \
ihse@44726 369 $$(if $$(shell $$(GREP) -e @moduleGraph \
ihse@44726 370 $$(wildcard $$(addsuffix /module-info.java, \
ihse@44726 371 $$(call FindModuleSrcDirs, $$m)))), \
ihse@44726 372 $$m) \
ihse@44726 373 ))
ihse@44726 374
ihse@44726 375 # First we run the GenGraph tool. It will query the module structure of the
ihse@44726 376 # running JVM and output .dot files for all existing modules.
ihse@44726 377 GENGRAPHS_PROPS := \
erikj@47217 378 $$(TOPDIR)/make/jdk/src/classes/build/tools/jigsaw/javadoc-graphs.properties
ihse@44726 379
ihse@44726 380 $1_GENGRAPHS_DIR := $$(SUPPORT_OUTPUTDIR)/docs/$1-gengraphs
ihse@44726 381
ihse@53995 382 $$(eval $$(call SetupExecute, gengraphs_$1, \
ihse@53995 383 INFO := Running gengraphs for $1 documentation, \
ihse@53995 384 DEPS := $$(BUILD_JIGSAW_TOOLS) $$(GENGRAPHS_PROPS), \
ihse@53995 385 OUTPUT_DIR := $$($1_GENGRAPHS_DIR), \
ihse@53995 386 COMMAND := $$(TOOL_GENGRAPHS) --spec --output $$($1_GENGRAPHS_DIR) \
ihse@53995 387 --dot-attributes $$(GENGRAPHS_PROPS), \
ihse@53995 388 ))
ihse@44726 389
ihse@44726 390 # For each module needing a graph, create a png file from the dot file
ihse@44726 391 # generated by the GenGraphs tool and store it in the target dir.
ihse@53995 392 # They will depend on gengraphs_$1_TARGET, and will be added to $1.
ihse@44726 393 $$(foreach m, $$($1_MODULES_NEEDING_GRAPH), \
ihse@44726 394 $$(eval $$(call setup_gengraph_dot_to_png,$1,$$m)) \
ihse@44726 395 )
ihse@44726 396 endif
ihse@44726 397 endef
ihse@44726 398
ihse@44726 399 ################################################################################
ihse@44726 400 # Setup generation of the JDK API documentation (javadoc + modulegraph)
ihse@44726 401
ihse@45323 402 # Define the groups of the JDK API documentation
ihse@45323 403 JavaSE_GROUP_NAME := Java SE
lancea@48841 404 JavaSE_GROUP_MODULES := $(call ColonList, $(sort java.se \
lancea@48841 405 $(call FindTransitiveIndirectDepsForModules, java.se)))
ihse@45323 406 JavaSE_GROUP_DESCRIPTION := \
mr@45616 407 The Java Platform, Standard Edition (Java SE) APIs define the core Java \
mr@45616 408 platform for general-purpose computing. These APIs are in modules whose \
mr@45616 409 names start with {@code java}. \
ihse@45323 410 #
ihse@45323 411 JDK_GROUPS += JavaSE
ihse@45323 412
ihse@45323 413 JDK_GROUP_NAME := JDK
ihse@45323 414 JDK_GROUP_MODULES := jdk.*
ihse@45323 415 JDK_GROUP_DESCRIPTION := \
mr@45616 416 The Java Development Kit (JDK) APIs are specific to the JDK and will not \
mr@45616 417 necessarily be available in all implementations of the Java SE Platform. \
mr@45616 418 These APIs are in modules whose names start with {@code jdk}. \
ihse@45323 419 #
ihse@45323 420 JDK_GROUPS += JDK
ihse@45323 421
ihse@45323 422 # If we are importing JavaFX, we need a JavaFX group. In an ideal world, this
ihse@45323 423 # would have been abstracted away to a more proper generic handling of imported
ihse@45323 424 # modules.
ihse@45323 425 ifneq ($(findstring javafx., $(IMPORTED_MODULES)), )
ihse@45323 426 JavaFX_GROUP_NAME := JavaFX
ihse@45323 427 JavaFX_GROUP_MODULES := javafx.*
ihse@45323 428 JavaFX_GROUP_DESCRIPTION := \
mr@45616 429 The JavaFX APIs define a set of user-interface controls, graphics, \
ihse@45323 430 media, and web packages for developing rich client applications. These \
mr@45616 431 APIs are in modules whose names start with {@code javafx}. \
ihse@45323 432 #
ihse@45323 433 JDK_GROUPS += JavaFX
ihse@45323 434 endif
ihse@45323 435
ihse@44726 436 # All modules to have docs generated by docs-jdk-api target
erikj@49916 437 JDK_MODULES := $(sort $(filter-out $(MODULES_FILTER), $(DOCS_MODULES)))
ihse@44726 438
ihse@44726 439 $(eval $(call SetupApiDocsGeneration, JDK_API, \
ihse@45323 440 MODULES := $(JDK_MODULES), \
ihse@45323 441 GROUPS := $(JDK_GROUPS), \
ihse@45323 442 SHORT_NAME := $(JDK_SHORT_NAME), \
ihse@45323 443 LONG_NAME := $(JDK_LONG_NAME), \
ihse@45103 444 TARGET_DIR := $(DOCS_OUTPUTDIR)/api, \
ihse@44726 445 ))
ihse@44726 446
ihse@44726 447 # Targets generated are returned in JDK_API_JAVADOC_TARGETS and
ihse@44726 448 # JDK_API_MODULEGRAPH_TARGETS.
ihse@44726 449
ihse@44726 450 ################################################################################
ihse@44726 451 # Setup generation of the Java SE API documentation (javadoc + modulegraph)
ihse@44726 452
lancea@48855 453 # The Java SE module scope is just java.se and its transitive indirect
ihse@45233 454 # exports.
lancea@48855 455 JAVASE_MODULES := java.se
ihse@44726 456
ihse@44726 457 $(eval $(call SetupApiDocsGeneration, JAVASE_API, \
ihse@45323 458 MODULES := $(JAVASE_MODULES), \
ihse@45323 459 SHORT_NAME := $(JAVASE_SHORT_NAME), \
ihse@45323 460 LONG_NAME := $(JAVASE_LONG_NAME), \
ihse@44726 461 TARGET_DIR := $(IMAGES_OUTPUTDIR)/javase-docs/api, \
ihse@44726 462 ))
ihse@44726 463
ihse@44726 464 # Targets generated are returned in JAVASE_API_JAVADOC_TARGETS and
ihse@44726 465 # JAVASE_API_MODULEGRAPH_TARGETS.
ohair@13697 466
ihse@41652 467 ################################################################################
ihse@47432 468 # Setup generation of the reference Java SE API documentation (javadoc + modulegraph)
ihse@47432 469
ihse@47432 470 # The reference javadoc is just the same as javase, but using the BootJDK javadoc
ihse@52714 471 # and a stable set of javadoc options. Typically it is used for generating
mchung@50969 472 # diffs between the reference javadoc and a javadoc bundle of a specific build
mchung@50969 473 # generated in the same way.
ihse@47432 474
ihse@47432 475 $(eval $(call SetupApiDocsGeneration, REFERENCE_API, \
ihse@47432 476 MODULES := $(JAVASE_MODULES), \
ihse@47432 477 SHORT_NAME := $(JAVASE_SHORT_NAME), \
ihse@47432 478 LONG_NAME := $(JAVASE_LONG_NAME), \
ihse@47432 479 TARGET_DIR := $(IMAGES_OUTPUTDIR)/reference-docs/api, \
ihse@47432 480 JAVADOC_CMD := $(JAVADOC), \
ihse@47432 481 OPTIONS := $(REFERENCE_OPTIONS), \
ihse@47432 482 TAGS := $(REFERENCE_TAGS), \
ihse@47432 483 ))
ihse@47432 484
ihse@47432 485 # Targets generated are returned in REFERENCE_API_JAVADOC_TARGETS and
ihse@47432 486 # REFERENCE_API_MODULEGRAPH_TARGETS.
ihse@47432 487
ihse@47432 488 ################################################################################
mchung@45105 489
dlsmith@55447 490 # Use this variable to control which spec files are included in the output.
dlsmith@55447 491 # Format: space-delimited list of names, including at most one '%' as a
dlsmith@55447 492 # wildcard. Spec source files match if their filename or any enclosing folder
dlsmith@55447 493 # name matches one of the items in SPEC_FILTER.
dlsmith@55447 494 SPEC_FILTER := %
dlsmith@55447 495
dlsmith@55447 496 ApplySpecFilter = \
dlsmith@55447 497 $(strip $(foreach file, $(1), \
dlsmith@55447 498 $(eval searchkeys := $(subst /, ,$(subst $(WORKSPACE_ROOT),,$(file)))) \
dlsmith@55447 499 $(if $(filter $(SPEC_FILTER), $(searchkeys)), \
dlsmith@55447 500 $(file) \
dlsmith@55447 501 ) \
dlsmith@55447 502 ))
dlsmith@55447 503
ihse@52985 504 # Copy the global resources, including the top-level redirect index.html
dlsmith@55447 505 GLOBAL_SPECS_RESOURCES_DIR := $(TOPDIR)/make/data/docs-resources
ihse@45229 506 $(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \
ihse@45229 507 SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \
dlsmith@55447 508 FILES := $(call ApplySpecFilter, $(call FindFiles, $(GLOBAL_SPECS_RESOURCES_DIR))), \
ihse@45229 509 DEST := $(DOCS_OUTPUTDIR), \
ihse@45229 510 ))
ihse@45229 511 JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES)
mchung@45105 512
mchung@45617 513 # Copy the legal notices distributed with the docs bundle
mchung@45617 514 $(eval $(call SetupCopyFiles, COPY_DOCS_LEGAL_NOTICES, \
erikj@47217 515 SRC := $(TOPDIR)/src/jdk.javadoc/share/legal, \
dlsmith@55447 516 FILES := $(call ApplySpecFilter, $(wildcard $(TOPDIR)/src/jdk.javadoc/share/legal/*)), \
mchung@45617 517 DEST := $(DOCS_OUTPUTDIR)/legal, \
mchung@45617 518 ))
mchung@45617 519 JDK_INDEX_TARGETS += $(COPY_DOCS_LEGAL_NOTICES)
mchung@45617 520
mchung@45105 521 ################################################################################
ihse@44733 522 # Copy JDK specs files
ihse@41652 523
erikj@54747 524 # For all non html/md files in $module/share/specs directories, copy them
ihse@44733 525 # unmodified
ihse@41652 526
ihse@44733 527 ALL_MODULES := $(call FindAllModules)
erikj@54747 528 COPY_SPEC_FILTER := %.gif %.jpg %.mib %.css
ihse@44733 529
ihse@44733 530 $(foreach m, $(ALL_MODULES), \
ihse@44733 531 $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
ihse@45095 532 $(foreach d, $(SPECS_$m), \
dlsmith@55447 533 $(if $(call ApplySpecFilter, $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d))), \
ihse@45095 534 $(eval $(call SetupCopyFiles, COPY_$m, \
ihse@45095 535 SRC := $d, \
dlsmith@55447 536 FILES := $(call ApplySpecFilter, $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d))), \
ihse@45103 537 DEST := $(DOCS_OUTPUTDIR)/specs/, \
ihse@45095 538 )) \
ihse@45095 539 $(eval JDK_SPECS_TARGETS += $(COPY_$m)) \
ihse@45095 540 ) \
ihse@44733 541 ) \
ihse@44733 542 )
ihse@44733 543
dlsmith@55447 544 # Create copyright footer variables. We need different variables for different
dlsmith@55447 545 # relative paths to the copyright.html file. The number 0-2 below represent how
dlsmith@55447 546 # many extra directory levels down below the specs dir the specs html file is
dlsmith@55447 547 # located.
dlsmith@55447 548 SPECS_BOTTOM = <footer class="legal-footer"><hr/>$(COPYRIGHT_BOTTOM)</footer>
erikj@54747 549 # The legal dir is one ../ below the specs dir, so start with one ../.
erikj@54747 550 specs_bottom_rel_path := ../
erikj@54747 551 $(foreach n, 0 1 2, \
erikj@54747 552 $(eval SPECS_BOTTOM_$n := $(call SPECS_BOTTOM,$(specs_bottom_rel_path))) \
erikj@54747 553 $(eval specs_bottom_rel_path := $(specs_bottom_rel_path)../) \
erikj@54747 554 )
erikj@54747 555
jjg@55673 556 SPECS_TOP := $(if $(filter true, $(IS_DRAFT)), <header class="draft-header">$(DRAFT_TEXT)</header>)
dlsmith@55447 557
erikj@54747 558 # For all html files in $module/share/specs directories, copy and add the
erikj@54747 559 # copyright footer.
erikj@54747 560
erikj@54747 561 $(foreach m, $(ALL_MODULES), \
erikj@54747 562 $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
erikj@54747 563 $(foreach d, $(SPECS_$m), \
dlsmith@55447 564 $(foreach f, $(call ApplySpecFilter, $(filter %.html, $(call FindFiles, $d))), \
erikj@54747 565 $(eval $m_$f_NOF_SUBDIRS := $(words $(subst /, $(SPACE), $(subst $d, , $(dir $f))))) \
erikj@54747 566 $(eval $m_$f_NAME := PROCESS_HTML_$m_$(strip $(call RelativePath, $f, $(TOPDIR)))) \
erikj@54747 567 $(eval $(call SetupTextFileProcessing, $($m_$f_NAME), \
erikj@54747 568 SOURCE_FILES := $f, \
erikj@54747 569 SOURCE_BASE_DIR := $d, \
erikj@54747 570 OUTPUT_DIR := $(DOCS_OUTPUTDIR)/specs/, \
erikj@54747 571 REPLACEMENTS := \
dlsmith@55447 572 <body> => <body>$(SPECS_TOP) ; \
erikj@54747 573 </body> => $(SPECS_BOTTOM_$($m_$f_NOF_SUBDIRS))</body>, \
erikj@54747 574 )) \
erikj@54747 575 $(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
erikj@54747 576 ) \
erikj@54747 577 ) \
erikj@54747 578 )
erikj@54747 579
erikj@53087 580 ifeq ($(ENABLE_PANDOC), true)
ihse@44734 581 # For all markdown files in $module/share/specs directories, convert them to
ihse@52984 582 # html, if we have pandoc (otherwise we'll just skip this).
ihse@44734 583
ihse@45229 584 GLOBAL_SPECS_DEFAULT_CSS_FILE := $(DOCS_OUTPUTDIR)/resources/jdk-default.css
ihse@44734 585
ihse@44734 586 $(foreach m, $(ALL_MODULES), \
ihse@44734 587 $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
ihse@44983 588 $(foreach d, $(SPECS_$m), \
dlsmith@55447 589 $(foreach f, $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, $d))), \
erikj@54747 590 $(eval $m_$f_NOF_SUBDIRS := $(words $(subst /, $(SPACE), $(subst $d, , $(dir $f))))) \
erikj@54747 591 $(eval $m_$f_NAME := SPECS_TO_HTML_$m_$(strip $(call RelativePath, $f, $(TOPDIR)))) \
erikj@54747 592 $(eval $(call SetupProcessMarkdown, $($m_$f_NAME), \
ihse@44983 593 SRC := $d, \
erikj@54747 594 FILES := $f, \
ihse@45103 595 DEST := $(DOCS_OUTPUTDIR)/specs/, \
ihse@44983 596 CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
dlsmith@55447 597 OPTIONS := -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_$($m_$f_NOF_SUBDIRS))', \
jjg@55675 598 REPLACEMENTS := \
jjg@55675 599 @@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
jjg@55675 600 @@VERSION_STRING@@ => $(VERSION_STRING), \
jjg@55112 601 POST_PROCESS := $(TOOL_FIXUPPANDOC), \
ihse@44983 602 )) \
erikj@54747 603 $(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
ihse@44983 604 ) \
ihse@44734 605 ) \
ihse@44734 606 )
ihse@52714 607
ihse@52714 608 # For all markdown files in $module/share/man directories, convert them to
ihse@52714 609 # html.
ihse@52940 610
ihse@52940 611 # Create dynamic man pages from markdown using pandoc. We need
ihse@52940 612 # PANDOC_HTML_MANPAGE_FILTER, a wrapper around
ihse@52940 613 # PANDOC_HTML_MANPAGE_FILTER_JAVASCRIPT. This is created by buildtools-jdk.
ihse@52940 614
ihse@52940 615 # We should also depend on the source javascript filter
ihse@52940 616 PANDOC_HTML_MANPAGE_FILTER_JAVASCRIPT := \
ihse@52940 617 $(TOPDIR)/make/scripts/pandoc-html-manpage-filter.js
ihse@52940 618
ihse@52714 619 $(foreach m, $(ALL_MODULES), \
ihse@52714 620 $(eval MAN_$m := $(call FindModuleManDirs, $m)) \
ihse@52714 621 $(foreach d, $(MAN_$m), \
dlsmith@55447 622 $(foreach f, $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, $d))), \
erikj@54747 623 $(eval $m_$f_NAME := MAN_TO_HTML_$m_$(strip $(call RelativePath, $f, $(TOPDIR)))) \
erikj@54747 624 $(eval $(call SetupProcessMarkdown, $($m_$f_NAME), \
ihse@52714 625 SRC := $d, \
erikj@54747 626 FILES := $f, \
ihse@52714 627 DEST := $(DOCS_OUTPUTDIR)/specs/man, \
ihse@52940 628 FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
ihse@52714 629 CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
jjg@55675 630 REPLACEMENTS := \
jjg@55675 631 @@COPYRIGHT_YEAR@@ => $(COPYRIGHT_YEAR) ; \
jjg@55675 632 @@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
jjg@55675 633 @@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
jjg@55651 634 OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
jjg@55112 635 POST_PROCESS := $(TOOL_FIXUPPANDOC), \
ihse@52940 636 EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
dlsmith@55447 637 $(PANDOC_HTML_MANPAGE_FILTER_JAVASCRIPT), \
ihse@52714 638 )) \
erikj@54747 639 $(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
ihse@52714 640 ) \
ihse@52714 641 ) \
ihse@52714 642 )
ihse@52714 643
ihse@52714 644 # The html generated from markdown also needs the css file
ihse@52714 645 JDK_SPECS_TARGETS += $(COPY_GLOBAL_RESOURCES)
ihse@44734 646 endif
ihse@44734 647
ihse@44733 648 # Special treatment for generated documentation
ihse@44733 649
ihse@44733 650 JDWP_PROTOCOL := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html
dlsmith@55447 651 ifneq ($(call ApplySpecFilter, $(JDWP_PROTOCOL)), )
dlsmith@55447 652 $(eval $(call SetupTextFileProcessing, PROCESS_JDWP_PROTOCOL, \
dlsmith@55447 653 SOURCE_FILES := $(JDWP_PROTOCOL), \
dlsmith@55447 654 OUTPUT_DIR := $(DOCS_OUTPUTDIR)/specs/jdwp, \
dlsmith@55447 655 REPLACEMENTS := \
dlsmith@55447 656 <body> => <body>$(SPECS_TOP) ; \
dlsmith@55447 657 </body> => $(SPECS_BOTTOM_1)</body>, \
dlsmith@55447 658 ))
dlsmith@55447 659 JDK_SPECS_TARGETS += $(PROCESS_JDWP_PROTOCOL)
dlsmith@55447 660 endif
ihse@41652 661
ihse@44733 662 # Get jvmti.html from the main jvm variant (all variants' jvmti.html are identical).
erikj@49928 663 JVMTI_HTML ?= $(HOTSPOT_OUTPUTDIR)/variant-$(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html
dlsmith@55447 664 ifneq ($(call ApplySpecFilter, $(JVMTI_HTML)), )
dlsmith@55447 665 $(eval $(call SetupTextFileProcessing, PROCESS_JVMTI_HTML, \
dlsmith@55447 666 SOURCE_FILES := $(JVMTI_HTML), \
dlsmith@55447 667 OUTPUT_DIR := $(DOCS_OUTPUTDIR)/specs/, \
dlsmith@55447 668 REPLACEMENTS := \
dlsmith@55447 669 <body> => <body>$(SPECS_TOP) ; \
dlsmith@55447 670 </body> => $(SPECS_BOTTOM_0)</body>, \
dlsmith@55447 671 ))
dlsmith@55447 672 JDK_SPECS_TARGETS += $(PROCESS_JVMTI_HTML)
dlsmith@55447 673 endif
ohair@13697 674
ihse@41652 675 ################################################################################
ihse@41652 676 # Optional target which bundles all generated javadocs into a zip archive.
neugens@37034 677
ihse@44725 678 JAVADOC_ZIP_NAME := jdk-$(VERSION_STRING)-docs.zip
ihse@47253 679 JAVADOC_ZIP_FILE := $(OUTPUTDIR)/bundles/$(JAVADOC_ZIP_NAME)
ihse@41652 680
ihse@44725 681 $(eval $(call SetupZipArchive, BUILD_JAVADOC_ZIP, \
ihse@45103 682 SRC := $(DOCS_OUTPUTDIR), \
ihse@44733 683 ZIP := $(JAVADOC_ZIP_FILE), \
ihse@44733 684 EXTRA_DEPS := $(JDK_API_JAVADOC_TARGETS) $(JDK_API_MODULEGRAPH_TARGETS) \
ihse@44733 685 $(JDK_SPECS_TARGETS), \
ihse@44725 686 ))
neugens@37034 687
ihse@44725 688 ZIP_TARGETS += $(BUILD_JAVADOC_ZIP)
erikj@39384 689
erikj@39384 690 ################################################################################
erikj@54747 691 # Hook to include the corresponding custom file, if present.
erikj@54747 692 $(eval $(call IncludeCustomExtension, Docs-post.gmk))
erikj@54747 693
erikj@54747 694 ################################################################################
dlsmith@55447 695 # Bundles all generated specs into a zip archive, skipping javadocs.
dlsmith@55447 696
dlsmith@55447 697 SPECS_ZIP_NAME := jdk-$(VERSION_STRING)-specs.zip
dlsmith@55447 698 SPECS_ZIP_FILE := $(OUTPUTDIR)/bundles/$(SPECS_ZIP_NAME)
dlsmith@55447 699
dlsmith@55447 700 $(eval $(call SetupZipArchive, BUILD_SPECS_ZIP, \
dlsmith@55447 701 SRC := $(DOCS_OUTPUTDIR), \
dlsmith@55447 702 ZIP := $(SPECS_ZIP_FILE), \
dlsmith@55447 703 EXTRA_DEPS := $(JDK_SPECS_TARGETS), \
dlsmith@55447 704 ))
dlsmith@55447 705
dlsmith@55447 706 SPECS_ZIP_TARGETS += $(BUILD_SPECS_ZIP)
dlsmith@55447 707
dlsmith@55447 708 ################################################################################
erikj@39384 709
ihse@45103 710 docs-jdk-api-javadoc: $(JDK_API_JAVADOC_TARGETS) $(JDK_API_CUSTOM_TARGETS)
mchung@44397 711
ihse@44726 712 docs-jdk-api-modulegraph: $(JDK_API_MODULEGRAPH_TARGETS)
ihse@44725 713
ihse@45103 714 docs-javase-api-javadoc: $(JAVASE_API_JAVADOC_TARGETS) $(JAVASE_API_CUSTOM_TARGETS)
ihse@44726 715
ihse@44726 716 docs-javase-api-modulegraph: $(JAVASE_API_MODULEGRAPH_TARGETS)
ihse@41652 717
ihse@47432 718 docs-reference-api-javadoc: $(REFERENCE_API_JAVADOC_TARGETS) $(REFERENCE_API_CUSTOM_TARGETS)
ihse@47432 719
ihse@47432 720 docs-reference-api-modulegraph: $(REFERENCE_API_MODULEGRAPH_TARGETS)
ihse@47432 721
ihse@44733 722 docs-jdk-specs: $(JDK_SPECS_TARGETS)
ihse@41652 723
ihse@45229 724 docs-jdk-index: $(JDK_INDEX_TARGETS)
mchung@45105 725
ihse@41652 726 docs-zip: $(ZIP_TARGETS)
ihse@41652 727
dlsmith@55447 728 docs-specs-zip: $(SPECS_ZIP_TARGETS)
dlsmith@55447 729
ihse@44726 730 all: docs-jdk-api-javadoc docs-jdk-api-modulegraph docs-javase-api-javadoc \
ihse@47432 731 docs-javase-api-modulegraph docs-reference-api-javadoc \
dlsmith@55447 732 docs-reference-api-modulegraph docs-jdk-specs docs-jdk-index docs-zip \
dlsmith@55447 733 docs-specs-zip
ihse@41652 734
ihse@44726 735 .PHONY: default all docs-jdk-api-javadoc docs-jdk-api-modulegraph \
ihse@47432 736 docs-javase-api-javadoc docs-javase-api-modulegraph \
ihse@47432 737 docs-reference-api-javadoc docs-reference-api-modulegraph docs-jdk-specs \
dlsmith@55447 738 docs-jdk-index docs-zip docs-specs-zip