author | dnsimon |
Mon, 06 Jun 2016 16:31:03 -0700 | |
changeset 39260 | 10fcac2a233a |
parent 37972 | e1fa5c2e62a0 |
child 39113 | 6fd54814d221 |
permissions | -rw-r--r-- |
36506 | 1 |
# Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
13697 | 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 |
||
25 |
include $(SPEC) |
|
26 |
include MakeBase.gmk |
|
27 |
||
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
28 |
################################################################# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
29 |
# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
30 |
# CORE_PKGS environment variable has been moved to the following file |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
31 |
# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
32 |
include CORE_PKGS.gmk |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
33 |
# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
34 |
# Load environment variables for API package names that are not part of |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
35 |
# the Java SE platform |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
36 |
# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
37 |
include NON_CORE_PKGS.gmk |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
38 |
|
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
39 |
|
13697 | 40 |
.SUFFIXES: # Delete the default suffixes |
41 |
.SUFFIXES: .java |
|
42 |
||
43 |
# |
|
25854 | 44 |
# Definitions for directories |
13697 | 45 |
# |
46 |
||
37972 | 47 |
DOCSDIR := $(DOCS_IMAGE_DIR) |
27560 | 48 |
DOCSTMPDIR = $(SUPPORT_OUTPUTDIR)/docs |
13697 | 49 |
|
50 |
HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs |
|
51 |
||
15393
e3761cf4e010
8006872: Stop creating four jars with identical content in the new build system.
ohrstrom
parents:
15172
diff
changeset
|
52 |
JAVADOC_CMD = $(JAVA) \ |
20363 | 53 |
-Djava.awt.headless=true \ |
28010
2d111f17cbb4
8067829: Remove setting -bootclasspath $(JDK_OUTPUTDIR)/classes from Javadoc.gmk
mchung
parents:
28007
diff
changeset
|
54 |
$(NEW_JAVADOC) |
13697 | 55 |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
56 |
JAVADOC_CMD_SMALL = $(JAVA_SMALL) \ |
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
57 |
-Djava.awt.headless=true \ |
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
58 |
$(NEW_JAVADOC) |
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
59 |
|
13697 | 60 |
# Copyright year for beginning of Java and some of the apis |
20363 | 61 |
# (Needed when creating the javadocs) |
62 |
FIRST_COPYRIGHT_YEAR = 1993 |
|
63 |
DOMAPI_FIRST_COPYRIGHT_YEAR = 2005 |
|
64 |
MIRROR_FIRST_COPYRIGHT_YEAR = 2004 |
|
65 |
DOCLETAPI_FIRST_COPYRIGHT_YEAR = 1993 |
|
66 |
TAGLETAPI_FIRST_COPYRIGHT_YEAR = 1993 |
|
67 |
JDI_FIRST_COPYRIGHT_YEAR = 1999 |
|
68 |
JAAS_FIRST_COPYRIGHT_YEAR = 1998 |
|
69 |
JGSS_FIRST_COPYRIGHT_YEAR = 2000 |
|
70 |
SMARTCARDIO_FIRST_COPYRIGHT_YEAR = 2005 |
|
71 |
HTTPSERVER_FIRST_COPYRIGHT_YEAR = 2005 |
|
72 |
MGMT_FIRST_COPYRIGHT_YEAR = 2003 |
|
73 |
ATTACH_FIRST_COPYRIGHT_YEAR = 2005 |
|
74 |
JCONSOLE_FIRST_COPYRIGHT_YEAR = 2006 |
|
75 |
SCTPAPI_FIRST_COPYRIGHT_YEAR = 2009 |
|
76 |
TRACING_FIRST_COPYRIGHT_YEAR = 2008 |
|
36792
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
77 |
JSHELLAPI_FIRST_COPYRIGHT_YEAR = 2015 |
20363 | 78 |
TREEAPI_FIRST_COPYRIGHT_YEAR = 2005 |
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
79 |
NASHORNAPI_FIRST_COPYRIGHT_YEAR = 2014 |
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
80 |
DYNALINKAPI_FIRST_COPYRIGHT_YEAR = 2015 |
20363 | 81 |
JNLP_FIRST_COPYRIGHT_YEAR = 1998 |
82 |
PLUGIN2_FIRST_COPYRIGHT_YEAR = 2007 |
|
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
83 |
JDKNET_FIRST_COPYRIGHT_YEAR = 2014 |
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
84 |
JACCESSAPI_FIRST_COPYRIGHT_YEAR = 2002 |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
85 |
|
13697 | 86 |
|
87 |
# Oracle name |
|
88 |
FULL_COMPANY_NAME = Oracle and/or its affiliates |
|
89 |
||
90 |
# Copyright address |
|
91 |
COMPANY_ADDRESS = 500 Oracle Parkway<br>Redwood Shores, CA 94065 USA. |
|
92 |
||
93 |
# The trademark symbol |
|
94 |
TRADEMARK = ™ |
|
95 |
||
96 |
# Common copyright lines used |
|
20363 | 97 |
# The word "Copyright" might optionally be a link to the file cpyr.html. |
98 |
# The first year of copyright may vary or not be available. |
|
99 |
# The address to the company might be optional. |
|
13697 | 100 |
COMMA:= , |
101 |
EMPTY:= |
|
102 |
SPACE:=$(EMPTY) $(EMPTY) |
|
103 |
COPYRIGHT_SYMBOL = &\#x00a9; |
|
104 |
# Macro to construct the copyright line |
|
20363 | 105 |
# (The GNU make 3.78.1 "if" conditional is broken, fixed in GNU make 3.81) |
13697 | 106 |
define CopyrightLine # optionalurl optionalfirstyear optionaladdress |
107 |
$(if $(strip $1),<a href="$(strip $1)">Copyright</a>,Copyright) \ |
|
108 |
$(COPYRIGHT_SYMBOL) $(if $2,$2${COMMA},) $(COPYRIGHT_YEAR),\ |
|
109 |
$(FULL_COMPANY_NAME). $3 All rights reserved. |
|
110 |
endef |
|
111 |
||
112 |
# Url to root of documents |
|
113 |
DOCSDIR_URL = {@docroot}/$(GET2DOCSDIR) |
|
114 |
||
115 |
# Url to copyright html file |
|
24232
ddfae175a8d2
8042348: Copyright link in Javadoc page for Java SE 8
erikj
parents:
23986
diff
changeset
|
116 |
COPYRIGHT_URL = $(DOCSDIR_URL)/legal/cpyr.html |
13697 | 117 |
|
118 |
# Url to bug filing site |
|
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
119 |
BUG_SUBMIT_URL = http://bugreport.java.com/bugreport/ |
13697 | 120 |
|
121 |
# Common line for how to submit a bug or rfe |
|
122 |
BUG_SUBMIT_LINE = <a href="$(BUG_SUBMIT_URL)">Submit a bug or feature</a> |
|
123 |
||
124 |
# Url to devdocs page |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
125 |
DOCS_BASE_URL = http://docs.oracle.com/javase/$(VERSION_SPECIFICATION)/docs |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
126 |
DEV_DOCS_URL = $(DOCS_BASE_URL)/index.html |
13697 | 127 |
|
128 |
# Common Java trademark line |
|
129 |
JAVA_TRADEMARK_LINE = Java is a trademark or registered trademark of \ |
|
130 |
$(FULL_COMPANY_NAME) in the US and other countries. |
|
131 |
||
132 |
################################################################# |
|
133 |
# Macros: |
|
134 |
||
135 |
||
136 |
# List of all possible directories for javadoc to look for sources |
|
20363 | 137 |
# NOTE: Quotes are required around sourcepath argument only on Windows. |
138 |
# Otherwise, you get "No packages or classes specified." due |
|
139 |
# to $(PATH_SEP) being interpreted as an end of |
|
140 |
# command (newline or shell ; character) |
|
25854 | 141 |
ALL_SOURCE_DIRS := $(wildcard \ |
36506 | 142 |
$(SUPPORT_OUTPUTDIR)/gensrc/j* \ |
143 |
$(if $(IMPORT_MODULES_SRC), $(IMPORT_MODULES_SRC)/*) \ |
|
27586
e7cfdc266a70
8058631: Rename posix to unix in build system to match file name changes
ihse
parents:
27328
diff
changeset
|
144 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS)/classes \ |
e7cfdc266a70
8058631: Rename posix to unix in build system to match file name changes
ihse
parents:
27328
diff
changeset
|
145 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS_TYPE)/classes \ |
36506 | 146 |
$(JDK_TOPDIR)/src/*/share/classes \ |
147 |
$(HOTSPOT_TOPDIR)/src/*/share/classes \ |
|
25854 | 148 |
$(LANGTOOLS_TOPDIR)/src/*/share/classes \ |
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
149 |
$(NASHORN_TOPDIR)/src/*/share/classes \ |
25854 | 150 |
$(CORBA_TOPDIR)/src/*/share/classes \ |
151 |
$(JAXP_TOPDIR)/src/*/share/classes \ |
|
152 |
$(JAXWS_TOPDIR)/src/*/share/classes \ |
|
27560 | 153 |
$(SUPPORT_OUTPUTDIR)/rmic/j* \ |
25854 | 154 |
$(JDK_TOPDIR)/src/*/share/doc/stub \ |
155 |
) \ |
|
156 |
# |
|
13697 | 157 |
|
36506 | 158 |
ALL_MODULE_SOURCE_DIRS := \ |
159 |
$(SUPPORT_OUTPUTDIR)/gensrc/* \ |
|
160 |
$(if $(IMPORT_MODULES_SRC), $(IMPORT_MODULES_SRC)/*) \ |
|
161 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS)/classes \ |
|
162 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS_TYPE)/classes \ |
|
163 |
$(JDK_TOPDIR)/src/*/share/classes \ |
|
164 |
$(HOTSPOT_TOPDIR)/src/*/share/classes \ |
|
165 |
$(LANGTOOLS_TOPDIR)/src/*/share/classes \ |
|
166 |
$(NASHORN_TOPDIR)/src/*/share/classes \ |
|
167 |
$(CORBA_TOPDIR)/src/*/share/classes \ |
|
168 |
$(JAXP_TOPDIR)/src/*/share/classes \ |
|
169 |
$(JAXWS_TOPDIR)/src/*/share/classes \ |
|
170 |
$(SUPPORT_OUTPUTDIR)/rmic/* \ |
|
171 |
$(JDK_TOPDIR)/src/*/share/doc/stub \ |
|
172 |
# |
|
173 |
||
174 |
||
13697 | 175 |
# List with classpath separator between them |
176 |
EMPTY:= |
|
177 |
SPACE:= $(EMPTY) $(EMPTY) |
|
178 |
RELEASEDOCS_SOURCEPATH = \ |
|
15052 | 179 |
$(subst $(SPACE),$(PATH_SEP),$(strip $(ALL_SOURCE_DIRS))) |
13697 | 180 |
|
36506 | 181 |
RELEASEDOCS_MODULESOURCEPATH = \ |
182 |
$(subst $(SPACE),$(PATH_SEP),$(strip $(ALL_MODULE_SOURCE_DIRS))) |
|
183 |
||
13697 | 184 |
define prep-target |
20363 | 185 |
$(MKDIR) -p $(@D) |
186 |
$(RM) $@ |
|
13697 | 187 |
endef |
188 |
||
189 |
# Prep for javadoc creation, assumes $@ is an index.html file |
|
190 |
define prep-javadoc |
|
20363 | 191 |
@if [ -f "$@" -a "$?" != "" ] ; then \ |
192 |
$(ECHO) "# Dependencies have changed: $?"; \ |
|
193 |
fi |
|
194 |
$(RM) -r $(@D) |
|
195 |
$(MKDIR) -p $(@D) |
|
13697 | 196 |
endef |
197 |
||
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
198 |
$(eval $(call FillCacheFind, $(ALL_SOURCE_DIRS))) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
199 |
define PackageDependencies |
25854 | 200 |
$(call CacheFind, $(wildcard $(foreach p, $(subst .,/,$1), $(addsuffix /$p, $(ALL_SOURCE_DIRS))))) |
13697 | 201 |
endef |
202 |
||
203 |
# Given a list of packages, add packages that exist to $@, print summary |
|
204 |
define PackageFilter # packages |
|
20363 | 205 |
@if [ "$1" != "" ] ; then \ |
206 |
for p in $1 ; do \ |
|
207 |
pd=`$(ECHO) $${p} | $(SED) -e 's@[.]@/@g'`; \ |
|
208 |
found="false"; \ |
|
209 |
for cp in $(ALL_SOURCE_DIRS) ; do \ |
|
210 |
if [ -d $${cp}/$${pd} ] ; then \ |
|
211 |
$(ECHO) "$${p}" >> $@; \ |
|
212 |
found="true"; \ |
|
213 |
break; \ |
|
214 |
fi; \ |
|
215 |
done; \ |
|
216 |
if [ "$${found}" = "false" ] ; then \ |
|
217 |
$(ECHO) "WARNING: Package not found: $${p}"; \ |
|
218 |
fi; \ |
|
219 |
done; \ |
|
220 |
fi |
|
13697 | 221 |
endef |
222 |
||
223 |
# Print out a summary of the javadoc command about to be run |
|
224 |
define JavadocSummary # optionsfile packagesfile |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
225 |
@$(ECHO) "# Running javadoc for $(patsubst $(OUTPUT_ROOT)/%,%,$@)" $(LOG_WARN) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
226 |
@($(ECHO) "# Options (`$(BASENAME) $1`):"; $(SED) -e 's@^@# @' $1) $(LOG_DEBUG) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
227 |
@($(ECHO) "# Packages (`$(BASENAME) $2`):";$(SED) -e 's@^@# @' $2) $(LOG_DEBUG) |
13697 | 228 |
endef |
229 |
||
230 |
# |
|
231 |
# Different api directories created from root directory |
|
232 |
# |
|
20363 | 233 |
COREAPI_DOCSDIR = $(DOCSDIR)/api |
234 |
JDK_API_DOCSDIR = $(DOCSDIR)/jdk/api |
|
235 |
JRE_API_DOCSDIR = $(DOCSDIR)/jre/api |
|
236 |
PLATFORM_DOCSDIR = $(DOCSDIR)/platform |
|
13697 | 237 |
|
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
238 |
JAVADOC_ARCHIVE_NAME := jdk-$(VERSION_STRING)-docs.zip |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
239 |
JAVADOC_ARCHIVE_ASSEMBLY_DIR := $(DOCSTMPDIR)/zip-docs |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
240 |
JAVADOC_ARCHIVE_DIR := $(OUTPUT_ROOT)/bundles |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
241 |
JAVADOC_ARCHIVE := $(JAVADOC_ARCHIVE_DIR)/$(JAVADOC_ARCHIVE_NAME) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
242 |
|
35817 | 243 |
# The core api index file is the target for the core api javadocs rule |
244 |
# and needs to be defined early so that all other javadoc rules may |
|
245 |
# depend on it. |
|
246 |
COREAPI_INDEX_FILE = $(COREAPI_DOCSDIR)/index.html |
|
247 |
||
13697 | 248 |
# The non-core api javadocs need to be able to access the root of the core |
20363 | 249 |
# api directory, so for jdk/api or jre/api to get to the core api/ |
250 |
# directory we would use this: |
|
251 |
JDKJRE2COREAPI = ../../api |
|
13697 | 252 |
|
253 |
# Common bottom argument |
|
254 |
define CommonBottom # year |
|
255 |
<font size="-1"><br> $(call CopyrightLine,,$1,)</font> |
|
256 |
endef |
|
257 |
||
258 |
# Common trademark bottom argument (Not sure why this is used sometimes) |
|
259 |
define CommonTrademarkBottom # year |
|
260 |
<font size="-1">\ |
|
261 |
$(BUG_SUBMIT_LINE)<br>$(JAVA_TRADEMARK_LINE)<br>\ |
|
262 |
$(call CopyrightLine,,$1,$(COMPANY_ADDRESS))\ |
|
263 |
</font> |
|
264 |
endef |
|
265 |
||
266 |
# Common echo of option |
|
267 |
define OptionOnly # opt |
|
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
268 |
if [ "$(strip $1)" != "" ] ; then \ |
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
269 |
$(PRINTF) "%s\n" "$(strip $1)"; \ |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
270 |
fi |
13697 | 271 |
endef |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
272 |
|
13697 | 273 |
define OptionPair # opt arg |
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
274 |
$(PRINTF) "%s '%s'\n" "$(strip $1)" '$(strip $2)' |
13697 | 275 |
endef |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
276 |
|
13697 | 277 |
define OptionTrip # opt arg arg |
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
278 |
$(PRINTF) "%s '%s' '%s'\n" "$(strip $1)" '$(strip $2)' '$(strip $3)' |
13697 | 279 |
endef |
280 |
||
281 |
# Core api bottom argument (with special sauce) |
|
282 |
COREAPI_BOTTOM = <font size="-1"> $(BUG_SUBMIT_LINE)\ |
|
283 |
<br>For further API reference and developer documentation, \ |
|
284 |
see <a href="$(DEV_DOCS_URL)" target="_blank">Java SE Documentation</a>. \ |
|
285 |
That documentation contains more detailed, developer-targeted descriptions, \ |
|
286 |
with conceptual overviews, definitions of terms, workarounds, \ |
|
287 |
and working code examples.<br>\ |
|
288 |
$(call CopyrightLine,$(COPYRIGHT_URL),$(FIRST_COPYRIGHT_YEAR),)\ |
|
289 |
</font> |
|
290 |
||
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
291 |
# Common javadoc options used by all bundles |
13697 | 292 |
|
293 |
ifdef OPENJDK |
|
20363 | 294 |
ADDITIONAL_JAVADOCFLAGS = \ |
295 |
-Xdocrootparent $(DOCS_BASE_URL) |
|
13697 | 296 |
else |
297 |
ADDITIONAL_JAVADOCFLAGS = |
|
298 |
endif |
|
299 |
||
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
300 |
define COMMON_JAVADOCFLAGS |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
301 |
$(call OptionOnly,-XDignore.symbol.file=true) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
302 |
$(call OptionOnly,-quiet) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
303 |
$(call OptionOnly,-use) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
304 |
$(call OptionOnly,-keywords) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
305 |
$(call OptionOnly,$(ADDITIONAL_JAVADOCFLAGS)) |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
306 |
endef |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
307 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
308 |
# Common javadoc tags used by all bundles |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
309 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
310 |
# Java language specification cite |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
311 |
TAG_JLS = jls:a:See <cite> \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
312 |
The Java™ Language Specification</cite>: |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
313 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
314 |
# Java virtual machine specification cite |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
315 |
TAG_JVMS = jvms:a:See <cite> \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
316 |
The Java™ Virtual Machine Specification</cite>: |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
317 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
318 |
# In order to get a specific ordering it's necessary to specify the total |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
319 |
# ordering of tags as the tags are otherwise ordered in order of definition. |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
320 |
define COMMON_JAVADOCTAGS |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
321 |
$(call OptionPair,-tag,beaninfo:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
322 |
$(call OptionPair,-tag,revised:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
323 |
$(call OptionPair,-tag,since.unbundled:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
324 |
$(call OptionPair,-tag,spec:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
325 |
$(call OptionPair,-tag,specdefault:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
326 |
$(call OptionPair,-tag,Note:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
327 |
$(call OptionPair,-tag,ToDo:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
328 |
$(call OptionPair,-tag,apiNote:a:API Note:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
329 |
$(call OptionPair,-tag,implSpec:a:Implementation Requirements:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
330 |
$(call OptionPair,-tag,implNote:a:Implementation Note:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
331 |
$(call OptionPair,-tag,param) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
332 |
$(call OptionPair,-tag,return) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
333 |
$(call OptionPair,-tag,throws) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
334 |
$(call OptionPair,-tag,since) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
335 |
$(call OptionPair,-tag,version) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
336 |
$(call OptionPair,-tag,serialData) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
337 |
$(call OptionPair,-tag,factory) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
338 |
$(call OptionPair,-tag,see) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
339 |
$(call OptionPair,-tag,$(TAG_JVMS)) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
340 |
$(call OptionPair,-tag,$(TAG_JLS)) |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
341 |
endef |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
342 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
343 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
344 |
|
33929 | 345 |
# Assume we need a draft format when the version string is not a GA version. |
346 |
ifeq ($(VERSION_IS_GA), false) |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
347 |
DRAFT_HEADER := <br><strong>DRAFT $(VERSION_STRING)</strong> |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
348 |
DRAFT_BOTTOM := <br><strong>DRAFT $(VERSION_STRING)</strong> |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
349 |
DRAFT_WINTITLE := $(VERSION_BUILD) |
20363 | 350 |
# Early access top text (not used in FCS releases) |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
351 |
COREAPI_TOP_EARLYACCESS := \ |
13697 | 352 |
<div style="background-color: \#EEEEEE"> \ |
353 |
<div style="padding: 6px; margin-top: 2px; margin-bottom: 6px; \ |
|
354 |
margin-left: 6px; margin-right: 6px; text-align: justify; \ |
|
355 |
font-size: 80%; font-family: Helvetica, Arial, sans-serif; \ |
|
356 |
font-weight: normal;"> \ |
|
357 |
Please note that the specifications and other information \ |
|
358 |
contained herein are not final and are subject to change. \ |
|
359 |
The information is being made available to you solely for purpose of \ |
|
360 |
evaluation. \ |
|
361 |
</div> </div> |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
362 |
else |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
363 |
DRAFT_HEADER := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
364 |
DRAFT_BOTTOM := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
365 |
DRAFT_WINTITLE := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
366 |
COREAPI_TOP_EARLYACCESS := |
13697 | 367 |
endif |
368 |
||
369 |
################################################################# |
|
370 |
||
371 |
# |
|
27328 | 372 |
# Load custom Javadoc rules |
373 |
# |
|
374 |
||
375 |
$(eval $(call IncludeCustomExtension, , Javadoc.gmk)) |
|
376 |
||
377 |
################################################################# |
|
378 |
||
379 |
# |
|
13697 | 380 |
# Default target is same as docs target, create core api and all others it can |
381 |
# |
|
382 |
||
383 |
all: docs |
|
384 |
docs: coredocs otherdocs |
|
385 |
||
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
386 |
# |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
387 |
# Optional target which bundles all generated javadocs into a zip archive. |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
388 |
# The dependency on docs is handled in Main.gmk. |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
389 |
# |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
390 |
|
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
391 |
zip-docs: $(JAVADOC_ARCHIVE) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
392 |
|
13697 | 393 |
############################################################# |
394 |
# |
|
395 |
# coredocs |
|
396 |
# |
|
20363 | 397 |
COREAPI_DOCTITLE = Java$(TRADEMARK) Platform, Standard Edition \ |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
398 |
$(VERSION_SPECIFICATION)<br>API Specification |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
399 |
COREAPI_WINDOWTITLE = Java Platform SE $(VERSION_SPECIFICATION) |
13697 | 400 |
COREAPI_HEADER = \ |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
401 |
<strong>Java$(TRADEMARK) Platform<br>Standard Ed. $(VERSION_SPECIFICATION)</strong> |
13697 | 402 |
|
403 |
# Overview file for core apis |
|
25854 | 404 |
COREAPI_OVERVIEW = $(JDK_TOPDIR)/src/java.base/share/classes/overview-core.html |
13697 | 405 |
|
35817 | 406 |
# The options and packages files |
20363 | 407 |
COREAPI_OPTIONS_FILE = $(DOCSTMPDIR)/coredocs.options |
13697 | 408 |
COREAPI_PACKAGES_FILE = $(DOCSTMPDIR)/coredocs.packages |
409 |
||
36506 | 410 |
# The modules required to be documented |
411 |
COREAPI_MODULES = java.se.ee |
|
412 |
||
13697 | 413 |
coredocs: $(COREAPI_INDEX_FILE) |
414 |
||
415 |
# Set relative location to core api document root |
|
416 |
$(COREAPI_INDEX_FILE): GET2DOCSDIR=.. |
|
417 |
||
418 |
# Run javadoc if the index file is out of date or missing |
|
419 |
$(COREAPI_INDEX_FILE): $(COREAPI_OPTIONS_FILE) $(COREAPI_PACKAGES_FILE) |
|
420 |
$(prep-javadoc) |
|
421 |
$(call JavadocSummary,$(COREAPI_OPTIONS_FILE),$(COREAPI_PACKAGES_FILE)) |
|
422 |
$(JAVADOC_CMD) -d $(@D) \ |
|
20363 | 423 |
@$(COREAPI_OPTIONS_FILE) @$(COREAPI_PACKAGES_FILE) |
13697 | 424 |
|
425 |
# Create file with javadoc options in it |
|
426 |
$(COREAPI_OPTIONS_FILE): $(COREAPI_OVERVIEW) |
|
427 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
428 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
429 |
$(call COMMON_JAVADOCTAGS) ; \ |
31567
626eeea487f8
8080722: Revisit how to check for doclint reference warning during the build
darcy
parents:
30416
diff
changeset
|
430 |
$(call OptionOnly,-Xdoclint:reference) ; \ |
626eeea487f8
8080722: Revisit how to check for doclint reference warning during the build
darcy
parents:
30416
diff
changeset
|
431 |
$(call OptionOnly,-Xdoclint/package:-org.omg.*) ; \ |
36506 | 432 |
$(call OptionPair,-system,none) ; \ |
433 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
434 |
$(call OptionPair,-addmods,$(COREAPI_MODULES)) ; \ |
|
20363 | 435 |
$(call OptionPair,-encoding,ISO-8859-1) ; \ |
436 |
$(call OptionOnly,-splitIndex) ; \ |
|
437 |
$(call OptionPair,-overview,$(COREAPI_OVERVIEW)) ; \ |
|
438 |
$(call OptionPair,-doctitle,$(COREAPI_DOCTITLE)) ; \ |
|
439 |
$(call OptionPair,-windowtitle,$(COREAPI_WINDOWTITLE) $(DRAFT_WINTITLE)) ; \ |
|
440 |
$(call OptionPair,-header,$(COREAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
441 |
$(call OptionPair,-bottom,$(COREAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
442 |
) >> $@ |
|
443 |
ifdef COREAPI_TOP_EARLYACCESS |
|
444 |
@$(call OptionPair,-top,$(COREAPI_TOP_EARLYACCESS)) >> $@ |
|
445 |
endif |
|
13697 | 446 |
|
447 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
448 |
$(COREAPI_PACKAGES_FILE): $(call PackageDependencies,$(CORE_PKGS)) |
13697 | 449 |
$(prep-target) |
450 |
$(call PackageFilter,$(CORE_PKGS)) |
|
451 |
||
452 |
############################################################# |
|
453 |
# |
|
454 |
# docletapidocs |
|
455 |
# |
|
456 |
||
457 |
ALL_OTHER_TARGETS += docletapidocs |
|
458 |
||
20363 | 459 |
DOCLETAPI_DOCDIR := $(JDK_API_DOCSDIR)/javadoc/doclet |
460 |
DOCLETAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
461 |
DOCLETAPI_DOCTITLE := Doclet API |
|
462 |
DOCLETAPI_WINDOWTITLE := Doclet API |
|
463 |
DOCLETAPI_HEADER := <strong>Doclet API</strong> |
|
464 |
DOCLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOCLETAPI_FIRST_COPYRIGHT_YEAR)) |
|
465 |
DOCLETAPI_GROUPNAME := Packages |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
466 |
DOCLETAPI_REGEXP := jdk.javadoc.doclet.* |
13697 | 467 |
# DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk |
468 |
||
469 |
# The index.html, options, and packages files |
|
20363 | 470 |
DOCLETAPI_INDEX_FILE = $(DOCLETAPI_DOCDIR)/index.html |
471 |
DOCLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/docletapi.options |
|
13697 | 472 |
DOCLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/docletapi.packages |
473 |
||
36506 | 474 |
# The modules required to be documented |
475 |
DOCLETAPI_MODULES = jdk.javadoc |
|
476 |
||
13697 | 477 |
docletapidocs: $(DOCLETAPI_INDEX_FILE) |
478 |
||
479 |
# Set relative location to core api document root |
|
480 |
$(DOCLETAPI_INDEX_FILE): GET2DOCSDIR=$(DOCLETAPI2COREAPI)/.. |
|
481 |
||
482 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
483 |
$(DOCLETAPI_INDEX_FILE): $(DOCLETAPI_OPTIONS_FILE) $(DOCLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 484 |
$(prep-javadoc) |
485 |
$(call JavadocSummary,$(DOCLETAPI_OPTIONS_FILE),$(DOCLETAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
486 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 487 |
@$(DOCLETAPI_OPTIONS_FILE) @$(DOCLETAPI_PACKAGES_FILE) |
13697 | 488 |
|
489 |
# Create file with javadoc options in it |
|
490 |
$(DOCLETAPI_OPTIONS_FILE): |
|
491 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
492 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
493 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
494 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 495 |
$(call OptionPair,-system,none) ; \ |
496 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
497 |
$(call OptionPair,-addmods,$(DOCLETAPI_MODULES)) ; \ |
|
20363 | 498 |
$(call OptionPair,-encoding,ascii) ; \ |
499 |
$(call OptionOnly,-breakiterator) ; \ |
|
500 |
$(call OptionPair,-doctitle,$(DOCLETAPI_DOCTITLE)) ; \ |
|
501 |
$(call OptionPair,-windowtitle,$(DOCLETAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
502 |
$(call OptionPair,-header,$(DOCLETAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
503 |
$(call OptionPair,-bottom,$(DOCLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 504 |
$(call OptionTrip,-group,$(DOCLETAPI_GROUPNAME),$(DOCLETAPI_REGEXP)); \ |
505 |
$(call OptionTrip,-linkoffline,$(DOCLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 506 |
) >> $@ |
13697 | 507 |
|
508 |
# Create a file with the package names in it |
|
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27586
diff
changeset
|
509 |
$(DOCLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(DOCLETAPI_PKGS)) |
13697 | 510 |
$(prep-target) |
511 |
$(call PackageFilter,$(DOCLETAPI_PKGS)) |
|
512 |
||
513 |
############################################################# |
|
514 |
# |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
515 |
# old docletapidocs |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
516 |
# |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
517 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
518 |
ALL_OTHER_TARGETS += olddocletapidocs |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
519 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
520 |
OLD_DOCLET_DIR := $(JDK_API_DOCSDIR)/javadoc/old |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
521 |
OLD_DOCLETAPI_DOCDIR := $(OLD_DOCLET_DIR)/doclet |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
522 |
OLD_DOCLETAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
523 |
OLD_DOCLETAPI_DOCTITLE := Doclet API |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
524 |
OLD_DOCLETAPI_WINDOWTITLE := Doclet API |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
525 |
OLD_DOCLETAPI_HEADER := <strong>Doclet API</strong> |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
526 |
OLD_DOCLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOCLETAPI_FIRST_COPYRIGHT_YEAR)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
527 |
OLD_DOCLETAPI_GROUPNAME := Packages |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
528 |
OLD_DOCLETAPI_REGEXP := com.sun.javadoc |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
529 |
# OLD_DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
530 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
531 |
# The index.html, options, and packages files |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
532 |
OLD_DOCLETAPI_INDEX_FILE = $(OLD_DOCLETAPI_DOCDIR)/index.html |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
533 |
OLD_DOCLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/old-docletapi.options |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
534 |
OLD_DOCLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/old-docletapi.packages |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
535 |
|
36506 | 536 |
# The modules required to be documented |
537 |
OLD_DOCLETAPI_MODULES = jdk.javadoc |
|
538 |
||
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
539 |
olddocletapidocs: $(OLD_DOCLETAPI_INDEX_FILE) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
540 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
541 |
# Set relative location to core api document root |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
542 |
$(OLD_DOCLETAPI_INDEX_FILE): GET2DOCSDIR=$(OLD_DOCLETAPI2COREAPI)/.. |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
543 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
544 |
# Run javadoc if the index file is out of date or missing |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
545 |
$(OLD_DOCLETAPI_INDEX_FILE): $(OLD_DOCLETAPI_OPTIONS_FILE) $(OLD_DOCLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
546 |
$(prep-javadoc) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
547 |
$(call JavadocSummary,$(OLD_DOCLETAPI_OPTIONS_FILE),$(OLD_DOCLETAPI_PACKAGES_FILE)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
548 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
549 |
@$(OLD_DOCLETAPI_OPTIONS_FILE) @$(OLD_DOCLETAPI_PACKAGES_FILE) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
550 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
551 |
# Create file with javadoc options in it |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
552 |
$(OLD_DOCLETAPI_OPTIONS_FILE): |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
553 |
$(prep-target) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
554 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
555 |
$(call COMMON_JAVADOCTAGS) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
556 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 557 |
$(call OptionPair,-system,none) ; \ |
558 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
559 |
$(call OptionPair,-addmods,$(OLD_DOCLETAPI_MODULES)) ; \ |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
560 |
$(call OptionPair,-encoding,ascii) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
561 |
$(call OptionOnly,-breakiterator) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
562 |
$(call OptionPair,-doctitle,$(OLD_DOCLETAPI_DOCTITLE)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
563 |
$(call OptionPair,-windowtitle,$(OLD_DOCLETAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
564 |
$(call OptionPair,-header,$(OLD_DOCLETAPI_HEADER)$(DRAFT_HEADER)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
565 |
$(call OptionPair,-bottom,$(OLD_DOCLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
566 |
$(call OptionTrip,-group,$(OLD_DOCLETAPI_GROUPNAME),$(OLD_DOCLETAPI_REGEXP)); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
567 |
$(call OptionTrip,-linkoffline,$(OLD_DOCLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
568 |
) >> $@ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
569 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
570 |
# Create a file with the package names in it |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
571 |
$(OLD_DOCLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(OLD_DOCLETAPI_PKGS)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
572 |
$(prep-target) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
573 |
$(call PackageFilter,$(OLD_DOCLETAPI_PKGS)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
574 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
575 |
############################################################# |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
576 |
# |
13697 | 577 |
# tagletapidocs |
578 |
# |
|
579 |
||
580 |
ALL_OTHER_TARGETS += tagletapidocs |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
581 |
TAGLETAPI_DOCDIR := $(OLD_DOCLET_DIR)/taglet |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
582 |
TAGLETAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
20363 | 583 |
TAGLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(TAGLETAPI_FIRST_COPYRIGHT_YEAR)) |
13697 | 584 |
# TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk |
585 |
||
586 |
# Temporary directory (special generation rules) |
|
20363 | 587 |
TAGLETAPI_TEMPDIR = $(DOCSTMPDIR)/taglets_temp |
13697 | 588 |
|
589 |
# The index.html, options, and packages files |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
590 |
TAGLETAPI_INDEX_FILE = $(TAGLETAPI_DOCDIR)/com/sun/tools/doclets/Taglet.html |
20363 | 591 |
TAGLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/tagletapi.options |
13697 | 592 |
TAGLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/tagletapi.packages |
593 |
||
36506 | 594 |
# The modules required to be documented |
595 |
TAGLETAPI_MODULES = jdk.javadoc |
|
596 |
||
13697 | 597 |
tagletapidocs: $(TAGLETAPI_INDEX_FILE) |
598 |
||
599 |
# Set relative location to core api document root |
|
600 |
$(TAGLETAPI_INDEX_FILE): GET2DOCSDIR=$(TAGLETAPI2COREAPI)/.. |
|
601 |
||
602 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
603 |
$(TAGLETAPI_INDEX_FILE): $(TAGLETAPI_OPTIONS_FILE) $(TAGLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 604 |
$(prep-javadoc) |
605 |
$(RM) -r $(TAGLETAPI_TEMPDIR) |
|
606 |
$(MKDIR) -p $(TAGLETAPI_TEMPDIR) |
|
607 |
$(call JavadocSummary,$(TAGLETAPI_OPTIONS_FILE),$(TAGLETAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
608 |
$(JAVADOC_CMD_SMALL) -d $(TAGLETAPI_TEMPDIR) \ |
20363 | 609 |
@$(TAGLETAPI_OPTIONS_FILE) @$(TAGLETAPI_PACKAGES_FILE) |
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
610 |
cp -r $(TAGLETAPI_TEMPDIR)/com $(TAGLETAPI_DOCDIR) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
611 |
cp $(TAGLETAPI_TEMPDIR)/stylesheet.css $(TAGLETAPI_DOCDIR) |
13697 | 612 |
$(RM) -r $(TAGLETAPI_TEMPDIR) |
613 |
||
614 |
# Create file with javadoc options in it |
|
615 |
$(TAGLETAPI_OPTIONS_FILE): |
|
616 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
617 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
618 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
619 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 620 |
$(call OptionPair,-system,none) ; \ |
621 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
622 |
$(call OptionPair,-addmods,$(TAGLETAPI_MODULES)) ; \ |
|
20363 | 623 |
$(call OptionPair,-encoding,ascii) ; \ |
624 |
$(call OptionOnly,-nonavbar) ; \ |
|
625 |
$(call OptionOnly,-noindex) ; \ |
|
626 |
$(call OptionPair,-bottom,$(TAGLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 627 |
$(call OptionTrip,-linkoffline,$(TAGLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 628 |
) >> $@ |
13697 | 629 |
|
630 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
631 |
$(TAGLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(TAGLETAPI_PKGS)) |
13697 | 632 |
$(prep-target) |
25854 | 633 |
@($(ECHO) "$(LANGTOOLS_TOPDIR)/src/jdk.javadoc/share/classes/$(TAGLETAPI_FILE)" ) > $@ |
13697 | 634 |
|
635 |
############################################################# |
|
636 |
# |
|
637 |
# domapidocs |
|
638 |
# |
|
639 |
||
640 |
ALL_OTHER_TARGETS += domapidocs |
|
641 |
||
20363 | 642 |
DOMAPI_DOCDIR := $(JRE_API_DOCSDIR)/plugin/dom |
643 |
DOMAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
644 |
DOMAPI_DOCTITLE := Common DOM API |
|
645 |
DOMAPI_WINDOWTITLE := Common DOM API |
|
646 |
DOMAPI_HEADER := <strong>Common DOM API</strong> |
|
647 |
DOMAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOMAPI_FIRST_COPYRIGHT_YEAR)) |
|
648 |
DOMAPI_GROUPNAME := Packages |
|
25045
7b8a6a85baa4
8044063: Remove com.sun.java.browser.* from jdk repo
mchung
parents:
24232
diff
changeset
|
649 |
DOMAPI_REGEXP := org.w3c.dom* |
13697 | 650 |
# DOMAPI_PKGS is located in NON_CORE_PKGS.gmk |
651 |
||
652 |
# The index.html, options, and packages files |
|
20363 | 653 |
DOMAPI_INDEX_FILE = $(DOMAPI_DOCDIR)/index.html |
654 |
DOMAPI_OPTIONS_FILE = $(DOCSTMPDIR)/domapi.options |
|
13697 | 655 |
DOMAPI_PACKAGES_FILE = $(DOCSTMPDIR)/domapi.packages |
656 |
||
36506 | 657 |
# The modules required to be documented |
658 |
DOMAPI_MODULES = java.xml,jdk.xml.dom |
|
659 |
||
13697 | 660 |
domapidocs: $(DOMAPI_INDEX_FILE) |
661 |
||
662 |
# Set relative location to core api document root |
|
663 |
$(DOMAPI_INDEX_FILE): GET2DOCSDIR=$(DOMAPI2COREAPI)/.. |
|
664 |
||
665 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
666 |
$(DOMAPI_INDEX_FILE): $(DOMAPI_OPTIONS_FILE) $(DOMAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 667 |
$(prep-javadoc) |
668 |
$(call JavadocSummary,$(DOMAPI_OPTIONS_FILE),$(DOMAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
669 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 670 |
@$(DOMAPI_OPTIONS_FILE) @$(DOMAPI_PACKAGES_FILE) |
13697 | 671 |
|
672 |
# Create file with javadoc options in it |
|
673 |
$(DOMAPI_OPTIONS_FILE): |
|
674 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
675 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
676 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
677 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 678 |
$(call OptionPair,-system,none) ; \ |
679 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
680 |
$(call OptionPair,-addmods,$(DOMAPI_MODULES)) ; \ |
|
20363 | 681 |
$(call OptionPair,-encoding,ascii) ; \ |
682 |
$(call OptionOnly,-splitIndex) ; \ |
|
683 |
$(call OptionPair,-doctitle,$(DOMAPI_DOCTITLE)) ; \ |
|
684 |
$(call OptionPair,-windowtitle,$(DOMAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
685 |
$(call OptionPair,-header,$(DOMAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
686 |
$(call OptionPair,-bottom,$(DOMAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 687 |
$(call OptionTrip,-group,$(DOMAPI_GROUPNAME),$(DOMAPI_REGEXP)); \ |
688 |
$(call OptionTrip,-linkoffline,$(DOMAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 689 |
) >> $@ |
13697 | 690 |
|
691 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
692 |
$(DOMAPI_PACKAGES_FILE): $(call PackageDependencies,$(DOMAPI_PKGS)) |
13697 | 693 |
$(prep-target) |
694 |
$(call PackageFilter,$(DOMAPI_PKGS)) |
|
695 |
||
696 |
############################################################# |
|
697 |
# |
|
698 |
# jpdadocs |
|
699 |
# |
|
700 |
||
701 |
ALL_OTHER_TARGETS += jpdadocs |
|
702 |
||
703 |
jpdadocs: jdidocs jdwpdocs jvmtidocs |
|
704 |
||
705 |
############################################################# |
|
706 |
# |
|
707 |
# jdidocs |
|
708 |
# |
|
709 |
||
710 |
ALL_OTHER_TARGETS += jdidocs |
|
711 |
||
20363 | 712 |
JDI_DOCDIR := $(JDK_API_DOCSDIR)/jpda/jdi |
713 |
JDI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
714 |
JDI_DOCTITLE := Java$(TRADEMARK) Debug Interface |
|
13697 | 715 |
JDI_WINDOWTITLE := Java Debug Interface |
20363 | 716 |
JDI_HEADER := <strong>Java Debug Interface</strong> |
717 |
JDI_BOTTOM := $(call CommonBottom,$(JDI_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 718 |
JDI_OVERVIEW := $(JDK_TOPDIR)/src/jdk.jdi/share/classes/jdi-overview.html |
13697 | 719 |
# JDI_PKGS is located in NON_CORE_PKGS.gmk |
720 |
||
721 |
# The index.html, options, and packages files |
|
20363 | 722 |
JDI_INDEX_FILE = $(JDI_DOCDIR)/index.html |
723 |
JDI_OPTIONS_FILE = $(DOCSTMPDIR)/jdi.options |
|
13697 | 724 |
JDI_PACKAGES_FILE = $(DOCSTMPDIR)/jdi.packages |
725 |
||
36506 | 726 |
# The modules required to be documented |
727 |
JDI_MODULES = jdk.jdi |
|
728 |
||
13697 | 729 |
jdidocs: $(JDI_INDEX_FILE) |
730 |
||
731 |
# Set relative location to core api document root |
|
732 |
$(JDI_INDEX_FILE): GET2DOCSDIR=$(JDI2COREAPI)/.. |
|
733 |
||
734 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
735 |
$(JDI_INDEX_FILE): $(JDI_OPTIONS_FILE) $(JDI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 736 |
$(prep-javadoc) |
737 |
$(call JavadocSummary,$(JDI_OPTIONS_FILE),$(JDI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
738 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 739 |
@$(JDI_OPTIONS_FILE) @$(JDI_PACKAGES_FILE) |
13697 | 740 |
|
741 |
# Create file with javadoc options in it |
|
742 |
$(JDI_OPTIONS_FILE): $(JDI_OVERVIEW) |
|
743 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
744 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
745 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
746 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 747 |
$(call OptionPair,-system,none) ; \ |
748 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
749 |
$(call OptionPair,-addmods,$(JDI_MODULES)) ; \ |
|
20363 | 750 |
$(call OptionPair,-encoding,ascii) ; \ |
751 |
$(call OptionPair,-overview,$(JDI_OVERVIEW)) ; \ |
|
752 |
$(call OptionPair,-doctitle,$(JDI_DOCTITLE)) ; \ |
|
13697 | 753 |
$(call OptionPair,-windowtitle,$(JDI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 754 |
$(call OptionPair,-header,$(JDI_HEADER)$(DRAFT_HEADER)) ; \ |
755 |
$(call OptionPair,-bottom,$(JDI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 756 |
$(call OptionTrip,-linkoffline,$(JDI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 757 |
) >> $@ |
13697 | 758 |
|
759 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
760 |
$(JDI_PACKAGES_FILE): $(call PackageDependencies,$(JDI_PKGS)) |
13697 | 761 |
$(prep-target) |
762 |
$(call PackageFilter,$(JDI_PKGS)) |
|
763 |
||
764 |
############################################################# |
|
765 |
# |
|
766 |
# jdwpdocs |
|
767 |
# |
|
768 |
||
769 |
ALL_OTHER_TARGETS += jdwpdocs |
|
770 |
||
20363 | 771 |
JDWP_DOCDIR = $(PLATFORM_DOCSDIR)/jpda/jdwp |
13697 | 772 |
|
773 |
jdwpdocs: $(JDWP_DOCDIR)/jdwp-protocol.html |
|
27560 | 774 |
$(JDWP_DOCDIR)/jdwp-protocol.html : $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html |
13697 | 775 |
$(MKDIR) -p $(@D) |
776 |
$(RM) $@ |
|
777 |
$(CP) $< $@ |
|
778 |
||
779 |
############################################################# |
|
780 |
# |
|
781 |
# jvmtidocs |
|
782 |
# |
|
783 |
||
784 |
ALL_OTHER_TARGETS += jvmtidocs |
|
785 |
||
20363 | 786 |
JVMTI_DOCDIR = $(PLATFORM_DOCSDIR)/jvmti |
787 |
JVMTI_HTML = $(HOTSPOT_DIST)/docs/platform/jvmti/jvmti.html |
|
13697 | 788 |
|
20363 | 789 |
jvmtidocs: $(JVMTI_DOCDIR)/jvmti.html |
13697 | 790 |
$(JVMTI_DOCDIR)/jvmti.html: |
791 |
@$(prep-javadoc) |
|
20363 | 792 |
@if [ -f $(JVMTI_HTML) ] ; then \ |
793 |
$(CP) $(JVMTI_HTML) $@; \ |
|
794 |
else \ |
|
13697 | 795 |
$(ECHO) "WARNING: Generated file does not exist: $(JVMTI_HTML)"; \ |
796 |
fi |
|
797 |
||
798 |
############################################################# |
|
799 |
# |
|
800 |
# jaasdocs |
|
801 |
# |
|
802 |
||
803 |
ALL_OTHER_TARGETS += jaasdocs |
|
804 |
||
20363 | 805 |
JAAS_DOCDIR := $(JRE_API_DOCSDIR)/security/jaas/spec |
806 |
JAAS2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
807 |
JAAS_DOCTITLE := Java$(TRADEMARK) Authentication and Authorization Service |
|
13697 | 808 |
JAAS_WINDOWTITLE := Java Authentication and Authorization Service |
20363 | 809 |
JAAS_HEADER := <strong>Java Authentication and Authorization Service</strong> |
810 |
JAAS_BOTTOM := $(call CommonBottom,$(JAAS_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 811 |
# JAAS_PKGS is located in NON_CORE_PKGS.gmk |
25854 | 812 |
JAAS_OVERVIEW := $(JDK_TOPDIR)/src/jdk.security.auth/share/classes/jaas-overview.html |
13697 | 813 |
|
814 |
# The index.html, options, and packages files |
|
20363 | 815 |
JAAS_INDEX_FILE = $(JAAS_DOCDIR)/index.html |
816 |
JAAS_OPTIONS_FILE = $(DOCSTMPDIR)/jaas.options |
|
13697 | 817 |
JAAS_PACKAGES_FILE = $(DOCSTMPDIR)/jaas.packages |
818 |
||
36506 | 819 |
# The modules required to be documented |
820 |
JAAS_MODULES = jdk.security.auth |
|
821 |
||
13697 | 822 |
jaasdocs: $(JAAS_INDEX_FILE) |
823 |
||
824 |
# Set relative location to core api document root |
|
825 |
$(JAAS_INDEX_FILE): GET2DOCSDIR=$(JAAS2COREAPI)/.. |
|
826 |
||
827 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
828 |
$(JAAS_INDEX_FILE): $(JAAS_OPTIONS_FILE) $(JAAS_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 829 |
$(prep-javadoc) |
830 |
$(call JavadocSummary,$(JAAS_OPTIONS_FILE),$(JAAS_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
831 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 832 |
@$(JAAS_OPTIONS_FILE) @$(JAAS_PACKAGES_FILE) |
13697 | 833 |
|
834 |
# Create file with javadoc options in it |
|
835 |
$(JAAS_OPTIONS_FILE): $(JAAS_OVERVIEW) |
|
836 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
837 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
838 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
839 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 840 |
$(call OptionPair,-system,none) ; \ |
841 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
842 |
$(call OptionPair,-addmods,$(JAAS_MODULES)) ; \ |
|
20363 | 843 |
$(call OptionPair,-encoding,ascii) ; \ |
844 |
$(call OptionPair,-overview,$(JAAS_OVERVIEW)) ; \ |
|
845 |
$(call OptionPair,-doctitle,$(JAAS_DOCTITLE)) ; \ |
|
13697 | 846 |
$(call OptionPair,-windowtitle,$(JAAS_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 847 |
$(call OptionPair,-header,$(JAAS_HEADER)$(DRAFT_HEADER)) ; \ |
848 |
$(call OptionPair,-bottom,$(JAAS_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 849 |
$(call OptionTrip,-linkoffline,$(JAAS2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 850 |
) >> $@ |
13697 | 851 |
|
852 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
853 |
$(JAAS_PACKAGES_FILE): $(call PackageDependencies,$(JAAS_PKGS)) |
13697 | 854 |
$(prep-target) |
855 |
$(call PackageFilter,$(JAAS_PKGS)) |
|
856 |
||
857 |
############################################################# |
|
858 |
# |
|
859 |
# jgssdocs |
|
860 |
# |
|
861 |
||
862 |
ALL_OTHER_TARGETS += jgssdocs |
|
863 |
||
20363 | 864 |
JGSS_DOCDIR := $(JRE_API_DOCSDIR)/security/jgss/spec |
865 |
JGSS2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
866 |
JGSS_DOCTITLE := Java$(TRADEMARK) GSS-API Utilities |
|
13697 | 867 |
JGSS_WINDOWTITLE := Java GSS-API Utilities |
20363 | 868 |
JGSS_HEADER := <strong>Java GSS-API Utilities</strong> |
869 |
JGSS_BOTTOM := $(call CommonBottom,$(JGSS_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 870 |
JGSS_OVERVIEW := $(JDK_TOPDIR)/src/java.security.jgss/share/classes/jgss-overview.html |
13697 | 871 |
# JGSS_PKGS is located in NON_CORE_PKGS.gmk |
872 |
||
873 |
# The index.html, options, and packages files |
|
20363 | 874 |
JGSS_INDEX_FILE = $(JGSS_DOCDIR)/index.html |
875 |
JGSS_OPTIONS_FILE = $(DOCSTMPDIR)/jgss.options |
|
13697 | 876 |
JGSS_PACKAGES_FILE = $(DOCSTMPDIR)/jgss.packages |
877 |
||
36506 | 878 |
# The modules required to be documented |
879 |
JGSS_MODULES = jdk.security.jgss |
|
880 |
||
13697 | 881 |
jgssdocs: $(JGSS_INDEX_FILE) |
882 |
||
883 |
# Set relative location to core api document root |
|
884 |
$(JGSS_INDEX_FILE): GET2DOCSDIR=$(JGSS2COREAPI)/.. |
|
885 |
||
886 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
887 |
$(JGSS_INDEX_FILE): $(JGSS_OPTIONS_FILE) $(JGSS_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 888 |
$(prep-javadoc) |
889 |
$(call JavadocSummary,$(JGSS_OPTIONS_FILE),$(JGSS_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
890 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 891 |
@$(JGSS_OPTIONS_FILE) @$(JGSS_PACKAGES_FILE) |
13697 | 892 |
|
893 |
# Create file with javadoc options in it |
|
894 |
$(JGSS_OPTIONS_FILE): $(JGSS_OVERVIEW) |
|
895 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
896 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
897 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
898 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 899 |
$(call OptionPair,-system,none) ; \ |
900 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
901 |
$(call OptionPair,-addmods,$(JGSS_MODULES)) ; \ |
|
20363 | 902 |
$(call OptionPair,-encoding,ascii) ; \ |
903 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
904 |
$(call OptionPair,-overview,$(JGSS_OVERVIEW)) ; \ |
|
905 |
$(call OptionPair,-doctitle,$(JGSS_DOCTITLE)) ; \ |
|
13697 | 906 |
$(call OptionPair,-windowtitle,$(JGSS_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 907 |
$(call OptionPair,-header,$(JGSS_HEADER)$(DRAFT_HEADER)) ; \ |
908 |
$(call OptionPair,-bottom,$(JGSS_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 909 |
$(call OptionTrip,-linkoffline,$(JGSS2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 910 |
) >> $@ |
13697 | 911 |
|
912 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
913 |
$(JGSS_PACKAGES_FILE): $(call PackageDependencies,$(JGSS_PKGS)) |
13697 | 914 |
$(prep-target) |
915 |
$(call PackageFilter,$(JGSS_PKGS)) |
|
916 |
||
917 |
############################################################# |
|
918 |
# |
|
919 |
# smartcardiodocs |
|
920 |
# |
|
921 |
||
922 |
ALL_OTHER_TARGETS += smartcardiodocs |
|
923 |
||
20363 | 924 |
SMARTCARDIO_DOCDIR := $(JRE_API_DOCSDIR)/security/smartcardio/spec |
925 |
SMARTCARDIO2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
926 |
SMARTCARDIO_DOCTITLE := Java$(TRADEMARK) Smart Card I/O |
|
13697 | 927 |
SMARTCARDIO_WINDOWTITLE := Java Smart Card I/O |
20363 | 928 |
SMARTCARDIO_HEADER := <strong>Java Smart Card I/O</strong> |
929 |
SMARTCARDIO_BOTTOM := $(call CommonBottom,$(SMARTCARDIO_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 930 |
# SMARTCARDIO_PKGS is located in NON_CORE_PKGS.gmk |
931 |
||
932 |
# The index.html, options, and packages files |
|
20363 | 933 |
SMARTCARDIO_INDEX_FILE = $(SMARTCARDIO_DOCDIR)/index.html |
934 |
SMARTCARDIO_OPTIONS_FILE = $(DOCSTMPDIR)/smartcardio.options |
|
13697 | 935 |
SMARTCARDIO_PACKAGES_FILE = $(DOCSTMPDIR)/smartcardio.packages |
936 |
||
36506 | 937 |
# The modules required to be documented |
938 |
SMARTCARDIO_MODULES = java.smartcardio |
|
939 |
||
13697 | 940 |
smartcardiodocs: $(SMARTCARDIO_INDEX_FILE) |
941 |
||
942 |
# Set relative location to core api document root |
|
943 |
$(SMARTCARDIO_INDEX_FILE): GET2DOCSDIR=$(SMARTCARDIO2COREAPI)/.. |
|
944 |
||
945 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
946 |
$(SMARTCARDIO_INDEX_FILE): $(SMARTCARDIO_OPTIONS_FILE) $(SMARTCARDIO_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 947 |
$(prep-javadoc) |
948 |
$(call JavadocSummary,$(SMARTCARDIO_OPTIONS_FILE),$(SMARTCARDIO_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
949 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 950 |
@$(SMARTCARDIO_OPTIONS_FILE) @$(SMARTCARDIO_PACKAGES_FILE) |
13697 | 951 |
|
952 |
# Create file with javadoc options in it |
|
953 |
$(SMARTCARDIO_OPTIONS_FILE): |
|
954 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
955 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
956 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
957 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 958 |
$(call OptionPair,-system,none) ; \ |
959 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
960 |
$(call OptionPair,-addmods,$(SMARTCARDIO_MODULES)) ; \ |
|
20363 | 961 |
$(call OptionPair,-encoding,ascii) ; \ |
962 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
963 |
$(call OptionPair,-doctitle,$(SMARTCARDIO_DOCTITLE)) ; \ |
|
964 |
$(call OptionPair,-windowtitle,$(SMARTCARDIO_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
13697 | 965 |
$(call OptionPair,-header,$(SMARTCARDIO_HEADER)$(DRAFT_HEADER)); \ |
966 |
$(call OptionPair,-bottom,$(SMARTCARDIO_BOTTOM)$(DRAFT_BOTTOM)); \ |
|
967 |
$(call OptionTrip,-linkoffline,$(SMARTCARDIO2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 968 |
) >> $@ |
13697 | 969 |
|
970 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
971 |
$(SMARTCARDIO_PACKAGES_FILE): $(call PackageDependencies,$(SMARTCARDIO_PKGS)) |
13697 | 972 |
$(prep-target) |
973 |
$(call PackageFilter,$(SMARTCARDIO_PKGS)) |
|
974 |
||
975 |
############################################################# |
|
976 |
# |
|
977 |
# httpserverdocs |
|
978 |
# |
|
979 |
||
980 |
ALL_OTHER_TARGETS += httpserverdocs |
|
981 |
||
20363 | 982 |
HTTPSERVER_DOCDIR := $(JRE_API_DOCSDIR)/net/httpserver/spec |
983 |
HTTPSERVER2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
984 |
HTTPSERVER_DOCTITLE := Java$(TRADEMARK) HTTP Server |
|
13697 | 985 |
HTTPSERVER_WINDOWTITLE := Java HTTP Server |
20363 | 986 |
HTTPSERVER_HEADER := <strong>Java HTTP Server</strong> |
987 |
HTTPSERVER_BOTTOM := $(call CommonBottom,$(HTTPSERVER_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 988 |
# HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk |
989 |
||
20363 | 990 |
HTTPSERVER_INDEX_HTML = $(HTTPSERVER_DOCDIR)/index.html |
991 |
HTTPSERVER_OPTIONS_FILE = $(DOCSTMPDIR)/httpserver.options |
|
13697 | 992 |
HTTPSERVER_PACKAGES_FILE = $(DOCSTMPDIR)/httpserver.packages |
993 |
||
36506 | 994 |
# The modules required to be documented |
995 |
HTTPSERVER_MODULES = jdk.httpserver |
|
996 |
||
13697 | 997 |
httpserverdocs: $(HTTPSERVER_INDEX_HTML) |
998 |
||
999 |
# Set relative location to core api document root |
|
1000 |
$(HTTPSERVER_INDEX_HTML): GET2DOCSDIR=$(HTTPSERVER2COREAPI)/.. |
|
1001 |
||
1002 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1003 |
$(HTTPSERVER_INDEX_HTML): $(HTTPSERVER_OPTIONS_FILE) $(HTTPSERVER_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1004 |
$(prep-javadoc) |
1005 |
$(call JavadocSummary,$(HTTPSERVER_OPTIONS_FILE),$(HTTPSERVER_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1006 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1007 |
@$(HTTPSERVER_OPTIONS_FILE) @$(HTTPSERVER_PACKAGES_FILE) |
13697 | 1008 |
|
1009 |
# Create file with javadoc options in it |
|
1010 |
$(HTTPSERVER_OPTIONS_FILE): |
|
1011 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1012 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1013 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1014 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1015 |
$(call OptionPair,-system,none) ; \ |
1016 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1017 |
$(call OptionPair,-addmods,$(HTTPSERVER_MODULES)) ; \ |
|
20363 | 1018 |
$(call OptionPair,-encoding,ascii) ; \ |
1019 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1020 |
$(call OptionPair,-doctitle,$(HTTPSERVER_DOCTITLE)) ; \ |
|
1021 |
$(call OptionPair,-windowtitle,$(HTTPSERVER_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
13697 | 1022 |
$(call OptionPair,-header,$(HTTPSERVER_HEADER)$(DRAFT_HEADER)); \ |
1023 |
$(call OptionPair,-bottom,$(HTTPSERVER_BOTTOM)$(DRAFT_BOTTOM)); \ |
|
1024 |
$(call OptionTrip,-linkoffline,$(HTTPSERVER2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 1025 |
) >> $@ |
13697 | 1026 |
|
1027 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1028 |
$(HTTPSERVER_PACKAGES_FILE): $(call PackageDependencies,$(HTTPSERVER_PKGS)) |
13697 | 1029 |
$(prep-target) |
1030 |
$(call PackageFilter,$(HTTPSERVER_PKGS)) |
|
1031 |
||
1032 |
############################################################# |
|
1033 |
# |
|
1034 |
# mgmtdocs |
|
1035 |
# |
|
1036 |
||
1037 |
ALL_OTHER_TARGETS += mgmtdocs |
|
1038 |
||
20363 | 1039 |
MGMT_DOCDIR := $(JRE_API_DOCSDIR)/management/extension |
1040 |
MGMT2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1041 |
JVM_MIB_NAME := JVM-MANAGEMENT-MIB.mib |
|
25854 | 1042 |
JVM_MIB_SRC := $(JDK_TOPDIR)/src/closed/jdk.snmp/share/classes/sun/management/snmp/$(JVM_MIB_NAME) |
20363 | 1043 |
MGMT_DOCTITLE := Monitoring and Management Interface for the Java$(TRADEMARK) Platform |
13697 | 1044 |
MGMT_WINDOWTITLE := Monitoring and Management Interface for the Java Platform |
20363 | 1045 |
MGMT_HEADER := <strong>Monitoring and Management Interface for the Java Platform</strong> |
1046 |
MGMT_BOTTOM := $(call CommonBottom,$(MGMT_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 1047 |
MGMT_OVERVIEW := $(JDK_TOPDIR)/src/java.management/share/classes/mgmt-overview.html |
13697 | 1048 |
# MGMT_PKGS is located in NON_CORE_PKGS.gmk |
1049 |
||
1050 |
# The index.html, options, and packages files |
|
20363 | 1051 |
MGMT_INDEX_FILE = $(MGMT_DOCDIR)/index.html |
1052 |
MGMT_OPTIONS_FILE = $(DOCSTMPDIR)/mgmt.options |
|
13697 | 1053 |
MGMT_PACKAGES_FILE = $(DOCSTMPDIR)/mgmt.packages |
1054 |
||
36506 | 1055 |
# The modules required to be documented |
1056 |
MGMT_MODULES = jdk.management |
|
1057 |
||
13697 | 1058 |
mgmtdocs: $(MGMT_INDEX_FILE) |
1059 |
||
1060 |
# Set relative location to core api document root |
|
1061 |
$(MGMT_INDEX_FILE): GET2DOCSDIR=$(MGMT2COREAPI)/.. |
|
1062 |
||
1063 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1064 |
$(MGMT_INDEX_FILE): $(MGMT_OPTIONS_FILE) $(MGMT_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1065 |
$(prep-javadoc) |
20363 | 1066 |
@if [ -f $(JVM_MIB_SRC) ] ; then \ |
1067 |
$(CP) $(JVM_MIB_SRC) $(@D)/.. ; \ |
|
1068 |
else \ |
|
1069 |
$(ECHO) "WARNING: File $(JVM_MIB_NAME) not available."; \ |
|
13697 | 1070 |
fi |
1071 |
$(call JavadocSummary,$(MGMT_OPTIONS_FILE),$(MGMT_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1072 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1073 |
@$(MGMT_OPTIONS_FILE) @$(MGMT_PACKAGES_FILE) |
13697 | 1074 |
|
1075 |
# Create file with javadoc options in it |
|
1076 |
$(MGMT_OPTIONS_FILE): $(MGMT_OVERVIEW) |
|
1077 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1078 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1079 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1080 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1081 |
$(call OptionPair,-system,none) ; \ |
1082 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1083 |
$(call OptionPair,-addmods,$(MGMT_MODULES)) ; \ |
|
20363 | 1084 |
$(call OptionPair,-encoding,ascii) ; \ |
1085 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1086 |
$(call OptionPair,-overview,$(MGMT_OVERVIEW)) ; \ |
|
1087 |
$(call OptionPair,-doctitle,$(MGMT_DOCTITLE)) ; \ |
|
13697 | 1088 |
$(call OptionPair,-windowtitle,$(MGMT_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 1089 |
$(call OptionPair,-header,$(MGMT_HEADER)$(DRAFT_HEADER)) ; \ |
1090 |
$(call OptionPair,-bottom,$(MGMT_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1091 |
$(call OptionTrip,-linkoffline,$(MGMT2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1092 |
) >> $@ |
13697 | 1093 |
|
1094 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1095 |
$(MGMT_PACKAGES_FILE): $(call PackageDependencies,$(MGMT_PKGS)) |
13697 | 1096 |
$(prep-target) |
1097 |
$(call PackageFilter,$(MGMT_PKGS)) |
|
1098 |
||
1099 |
############################################################# |
|
1100 |
# |
|
1101 |
# attachdocs |
|
1102 |
# |
|
1103 |
||
1104 |
ALL_OTHER_TARGETS += attachdocs |
|
1105 |
||
20363 | 1106 |
ATTACH_DOCDIR := $(JDK_API_DOCSDIR)/attach/spec |
1107 |
ATTACH2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1108 |
ATTACH_DOCTITLE := Attach API |
|
13697 | 1109 |
ATTACH_WINDOWTITLE := Attach API |
20363 | 1110 |
ATTACH_HEADER := <strong>Attach API</strong> |
1111 |
ATTACH_BOTTOM := $(call CommonBottom,$(ATTACH_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1112 |
# ATTACH_PKGS is located in NON_CORE_PKGS.gmk |
1113 |
||
20363 | 1114 |
ATTACH_INDEX_HTML = $(ATTACH_DOCDIR)/index.html |
1115 |
ATTACH_OPTIONS_FILE = $(DOCSTMPDIR)/attach.options |
|
13697 | 1116 |
ATTACH_PACKAGES_FILE = $(DOCSTMPDIR)/attach.packages |
1117 |
||
36506 | 1118 |
# The modules required to be documented |
1119 |
ATTACH_MODULES = jdk.attach |
|
1120 |
||
13697 | 1121 |
attachdocs: $(ATTACH_INDEX_HTML) |
1122 |
||
1123 |
# Set relative location to core api document root |
|
1124 |
$(ATTACH_INDEX_HTML): GET2DOCSDIR=$(ATTACH2COREAPI)/.. |
|
1125 |
||
1126 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1127 |
$(ATTACH_INDEX_HTML): $(ATTACH_OPTIONS_FILE) $(ATTACH_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1128 |
$(prep-javadoc) |
1129 |
$(call JavadocSummary,$(ATTACH_OPTIONS_FILE),$(ATTACH_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1130 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1131 |
@$(ATTACH_OPTIONS_FILE) @$(ATTACH_PACKAGES_FILE) |
13697 | 1132 |
|
1133 |
# Create file with javadoc options in it |
|
1134 |
$(ATTACH_OPTIONS_FILE): |
|
1135 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1136 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1137 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1138 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1139 |
$(call OptionPair,-system,none) ; \ |
1140 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1141 |
$(call OptionPair,-addmods,$(ATTACH_MODULES)) ; \ |
|
20363 | 1142 |
$(call OptionPair,-encoding,ascii) ; \ |
1143 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1144 |
$(call OptionPair,-doctitle,$(ATTACH_DOCTITLE)) ; \ |
|
1145 |
$(call OptionPair,-windowtitle,$(ATTACH_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1146 |
$(call OptionPair,-header,$(ATTACH_HEADER)$(DRAFT_HEADER)) ; \ |
|
1147 |
$(call OptionPair,-bottom,$(ATTACH_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1148 |
$(call OptionTrip,-linkoffline,$(ATTACH2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1149 |
) >> $@ |
13697 | 1150 |
|
1151 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1152 |
$(ATTACH_PACKAGES_FILE): $(call PackageDependencies,$(ATTACH_PKGS)) |
13697 | 1153 |
$(prep-target) |
1154 |
$(call PackageFilter,$(ATTACH_PKGS)) |
|
1155 |
||
1156 |
############################################################# |
|
1157 |
# |
|
1158 |
# jconsoledocs |
|
1159 |
# |
|
1160 |
||
1161 |
ALL_OTHER_TARGETS += jconsoledocs |
|
1162 |
||
20363 | 1163 |
JCONSOLE_DOCDIR := $(JDK_API_DOCSDIR)/jconsole/spec |
1164 |
JCONSOLE2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1165 |
JCONSOLE_DOCTITLE := JConsole API |
|
13697 | 1166 |
JCONSOLE_WINDOWTITLE := JConsole API |
20363 | 1167 |
JCONSOLE_HEADER := <strong>JConsole API</strong> |
1168 |
JCONSOLE_BOTTOM := $(call CommonBottom,$(JCONSOLE_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1169 |
# JCONSOLE_PKGS is located in NON_CORE_PKGS.gmk |
1170 |
||
20363 | 1171 |
JCONSOLE_INDEX_HTML = $(JCONSOLE_DOCDIR)/index.html |
1172 |
JCONSOLE_OPTIONS_FILE = $(DOCSTMPDIR)/jconsole.options |
|
13697 | 1173 |
JCONSOLE_PACKAGES_FILE = $(DOCSTMPDIR)/jconsole.packages |
1174 |
||
36506 | 1175 |
# The modules required to be documented |
1176 |
JCONSOLE_MODULES = jdk.jconsole |
|
1177 |
||
13697 | 1178 |
jconsoledocs: $(JCONSOLE_INDEX_HTML) |
1179 |
||
1180 |
# Set relative location to core api document root |
|
1181 |
$(JCONSOLE_INDEX_HTML): GET2DOCSDIR=$(JCONSOLE2COREAPI)/.. |
|
1182 |
||
1183 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1184 |
$(JCONSOLE_INDEX_HTML): $(JCONSOLE_OPTIONS_FILE) $(JCONSOLE_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1185 |
$(prep-javadoc) |
1186 |
$(call JavadocSummary,$(JCONSOLE_OPTIONS_FILE),$(JCONSOLE_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1187 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1188 |
@$(JCONSOLE_OPTIONS_FILE) @$(JCONSOLE_PACKAGES_FILE) |
13697 | 1189 |
|
1190 |
# Create file with javadoc options in it |
|
1191 |
$(JCONSOLE_OPTIONS_FILE): |
|
1192 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1193 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1194 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1195 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1196 |
$(call OptionPair,-system,none) ; \ |
1197 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1198 |
$(call OptionPair,-addmods,$(JCONSOLE_MODULES)) ; \ |
|
20363 | 1199 |
$(call OptionPair,-encoding,ascii) ; \ |
1200 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1201 |
$(call OptionPair,-doctitle,$(JCONSOLE_DOCTITLE)) ; \ |
|
1202 |
$(call OptionPair,-windowtitle,$(JCONSOLE_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1203 |
$(call OptionPair,-header,$(JCONSOLE_HEADER)$(DRAFT_HEADER)) ; \ |
|
1204 |
$(call OptionPair,-bottom,$(JCONSOLE_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1205 |
$(call OptionTrip,-linkoffline,$(JCONSOLE2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1206 |
) >> $@ |
13697 | 1207 |
|
1208 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1209 |
$(JCONSOLE_PACKAGES_FILE): $(call PackageDependencies,$(JCONSOLE_PKGS)) |
13697 | 1210 |
$(prep-target) |
1211 |
$(call PackageFilter,$(JCONSOLE_PKGS)) |
|
1212 |
||
1213 |
############################################################# |
|
1214 |
# |
|
36792
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1215 |
# jshellapidocs |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1216 |
# |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1217 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1218 |
ALL_OTHER_TARGETS += jshellapidocs |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1219 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1220 |
JSHELLAPI_DOCDIR := $(JDK_API_DOCSDIR)/jshell |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1221 |
JSHELLAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1222 |
JSHELLAPI_DOCTITLE := JShell API |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1223 |
JSHELLAPI_WINDOWTITLE := JShell API |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1224 |
JSHELLAPI_HEADER := <strong>JSHELL API</strong> |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1225 |
JSHELLAPI_BOTTOM := $(call CommonBottom,$(JSHELLAPI_FIRST_COPYRIGHT_YEAR)) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1226 |
JSHELLAPI_GROUPNAME := Packages |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1227 |
JSHELLAPI_REGEXP := jdk.jshell.* |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1228 |
# JSHELLAPI_PKGS is located in NON_CORE_PKGS.gmk |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1229 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1230 |
JSHELLAPI_INDEX_HTML = $(JSHELLAPI_DOCDIR)/index.html |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1231 |
JSHELLAPI_OPTIONS_FILE = $(DOCSTMPDIR)/jshellapi.options |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1232 |
JSHELLAPI_PACKAGES_FILE = $(DOCSTMPDIR)/jshellapi.packages |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1233 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1234 |
# The modules required to be documented |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1235 |
JSHELLAPI_MODULES = jdk.jshell |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1236 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1237 |
jshellapidocs: $(JSHELLAPI_INDEX_HTML) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1238 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1239 |
# Set relative location to core api document root |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1240 |
$(JSHELLAPI_INDEX_HTML): GET2DOCSDIR=$(JSHELLAPI2COREAPI)/.. |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1241 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1242 |
# Run javadoc if the index file is out of date or missing |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1243 |
$(JSHELLAPI_INDEX_HTML): $(JSHELLAPI_OPTIONS_FILE) $(JSHELLAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1244 |
$(prep-javadoc) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1245 |
$(call JavadocSummary,$(JSHELLAPI_OPTIONS_FILE),$(JSHELLAPI_PACKAGES_FILE)) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1246 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1247 |
@$(JSHELLAPI_OPTIONS_FILE) @$(JSHELLAPI_PACKAGES_FILE) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1248 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1249 |
# Create file with javadoc options in it |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1250 |
$(JSHELLAPI_OPTIONS_FILE): |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1251 |
$(prep-target) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1252 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1253 |
$(call COMMON_JAVADOCTAGS) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1254 |
$(call OptionOnly,-Xdoclint:all) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1255 |
$(call OptionPair,-system,none) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1256 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1257 |
$(call OptionPair,-addmods,$(JSHELLAPI_MODULES)) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1258 |
$(call OptionPair,-encoding,ascii) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1259 |
$(call OptionPair,-doctitle,$(JSHELLAPI_DOCTITLE)) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1260 |
$(call OptionPair,-windowtitle,$(JSHELLAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1261 |
$(call OptionPair,-header,$(JSHELLAPI_HEADER)$(DRAFT_HEADER)) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1262 |
$(call OptionPair,-bottom,$(JSHELLAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1263 |
$(call OptionTrip,-group,$(JSHELLAPI_GROUPNAME),$(JSHELLAPI_REGEXP)); \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1264 |
$(call OptionTrip,-linkoffline,$(JSHELLAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1265 |
) >> $@ |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1266 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1267 |
# Create a file with the package names in it |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1268 |
$(JSHELLAPI_PACKAGES_FILE): $(call PackageDependencies,$(JSHELLAPI_PKGS)) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1269 |
$(prep-target) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1270 |
$(call PackageFilter,$(JSHELLAPI_PKGS)) |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1271 |
|
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1272 |
############################################################# |
09d2e1165981
8153243: make docs should generate JShell API docs
jlahoda
parents:
36506
diff
changeset
|
1273 |
# |
13697 | 1274 |
# treeapidocs |
1275 |
# |
|
1276 |
||
1277 |
ALL_OTHER_TARGETS += treeapidocs |
|
1278 |
||
20363 | 1279 |
TREEAPI_DOCDIR := $(JDK_API_DOCSDIR)/javac/tree |
1280 |
TREEAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1281 |
TREEAPI_DOCTITLE := Compiler Tree API |
|
1282 |
TREEAPI_WINDOWTITLE := Compiler Tree API |
|
1283 |
TREEAPI_HEADER := <strong>Compiler Tree API</strong> |
|
1284 |
TREEAPI_BOTTOM := $(call CommonBottom,$(TREEAPI_FIRST_COPYRIGHT_YEAR)) |
|
1285 |
TREEAPI_GROUPNAME := Packages |
|
1286 |
TREEAPI_REGEXP := com.sun.source.* |
|
13697 | 1287 |
# TREEAPI_PKGS is located in NON_CORE_PKGS.gmk |
1288 |
||
20363 | 1289 |
TREEAPI_INDEX_HTML = $(TREEAPI_DOCDIR)/index.html |
1290 |
TREEAPI_OPTIONS_FILE = $(DOCSTMPDIR)/treeapi.options |
|
13697 | 1291 |
TREEAPI_PACKAGES_FILE = $(DOCSTMPDIR)/treeapi.packages |
1292 |
||
36506 | 1293 |
# The modules required to be documented |
1294 |
TREEAPI_MODULES = jdk.compiler |
|
1295 |
||
13697 | 1296 |
treeapidocs: $(TREEAPI_INDEX_HTML) |
1297 |
||
1298 |
# Set relative location to core api document root |
|
1299 |
$(TREEAPI_INDEX_HTML): GET2DOCSDIR=$(TREEAPI2COREAPI)/.. |
|
1300 |
||
1301 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1302 |
$(TREEAPI_INDEX_HTML): $(TREEAPI_OPTIONS_FILE) $(TREEAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1303 |
$(prep-javadoc) |
1304 |
$(call JavadocSummary,$(TREEAPI_OPTIONS_FILE),$(TREEAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1305 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1306 |
@$(TREEAPI_OPTIONS_FILE) @$(TREEAPI_PACKAGES_FILE) |
13697 | 1307 |
|
1308 |
# Create file with javadoc options in it |
|
1309 |
$(TREEAPI_OPTIONS_FILE): |
|
1310 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1311 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1312 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
1313 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 1314 |
$(call OptionPair,-system,none) ; \ |
1315 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1316 |
$(call OptionPair,-addmods,$(TREEAPI_MODULES)) ; \ |
|
20363 | 1317 |
$(call OptionPair,-encoding,ascii) ; \ |
1318 |
$(call OptionPair,-doctitle,$(TREEAPI_DOCTITLE)) ; \ |
|
1319 |
$(call OptionPair,-windowtitle,$(TREEAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1320 |
$(call OptionPair,-header,$(TREEAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
1321 |
$(call OptionPair,-bottom,$(TREEAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1322 |
$(call OptionTrip,-group,$(TREEAPI_GROUPNAME),$(TREEAPI_REGEXP)); \ |
1323 |
$(call OptionTrip,-linkoffline,$(TREEAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 1324 |
) >> $@ |
13697 | 1325 |
|
1326 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1327 |
$(TREEAPI_PACKAGES_FILE): $(call PackageDependencies,$(TREEAPI_PKGS)) |
13697 | 1328 |
$(prep-target) |
1329 |
$(call PackageFilter,$(TREEAPI_PKGS)) |
|
1330 |
||
1331 |
############################################################# |
|
1332 |
# |
|
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1333 |
# nashornapidocs |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1334 |
# |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1335 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1336 |
ALL_OTHER_TARGETS += nashornapidocs |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1337 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1338 |
NASHORNAPI_DOCDIR := $(JDK_API_DOCSDIR)/nashorn |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1339 |
NASHORNAPI2COREAPI := ../$(JDKJRE2COREAPI) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1340 |
NASHORNAPI_DOCTITLE := Nashorn API |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1341 |
NASHORNAPI_WINDOWTITLE := Nashorn API |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1342 |
NASHORNAPI_HEADER := <strong>Nashorn API</strong> |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1343 |
NASHORNAPI_BOTTOM := $(call CommonBottom,$(NASHORNAPI_FIRST_COPYRIGHT_YEAR)) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1344 |
NASHORNAPI_GROUPNAME := Packages |
30416
6216eb71e929
8079900: javadoc is missing for jdk.nashorn.api.tree package
sundar
parents:
29851
diff
changeset
|
1345 |
NASHORNAPI_REGEXP := jdk.nashorn.api.* |
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1346 |
# NASHORNAPI_PKGS is located in NON_CORE_PKGS.gmk |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1347 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1348 |
NASHORNAPI_INDEX_HTML = $(NASHORNAPI_DOCDIR)/index.html |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1349 |
NASHORNAPI_OPTIONS_FILE = $(DOCSTMPDIR)/nashornapi.options |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1350 |
NASHORNAPI_PACKAGES_FILE = $(DOCSTMPDIR)/nashornapi.packages |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1351 |
|
36506 | 1352 |
# The modules required to be documented |
1353 |
NASHORNAPI_MODULES = jdk.scripting.nashorn |
|
1354 |
||
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1355 |
nashornapidocs: $(NASHORNAPI_INDEX_HTML) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1356 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1357 |
# Set relative location to core api document root |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1358 |
$(NASHORNAPI_INDEX_HTML): GET2DOCSDIR=$(NASHORNAPI2COREAPI)/.. |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1359 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1360 |
# Run javadoc if the index file is out of date or missing |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1361 |
$(NASHORNAPI_INDEX_HTML): $(NASHORNAPI_OPTIONS_FILE) $(NASHORNAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1362 |
$(prep-javadoc) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1363 |
$(call JavadocSummary,$(NASHORNAPI_OPTIONS_FILE),$(NASHORNAPI_PACKAGES_FILE)) |
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1364 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1365 |
@$(NASHORNAPI_OPTIONS_FILE) @$(NASHORNAPI_PACKAGES_FILE) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1366 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1367 |
# Create file with javadoc options in it |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1368 |
$(NASHORNAPI_OPTIONS_FILE): |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1369 |
$(prep-target) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1370 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1371 |
$(call COMMON_JAVADOCTAGS) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1372 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 1373 |
$(call OptionPair,-system,none) ; \ |
1374 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1375 |
$(call OptionPair,-addmods,$(NASHORNAPI_MODULES)) ; \ |
|
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1376 |
$(call OptionPair,-encoding,ascii) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1377 |
$(call OptionPair,-doctitle,$(NASHORNAPI_DOCTITLE)) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1378 |
$(call OptionPair,-windowtitle,$(NASHORNAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1379 |
$(call OptionPair,-header,$(NASHORNAPI_HEADER)$(DRAFT_HEADER)) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1380 |
$(call OptionPair,-bottom,$(NASHORNAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1381 |
$(call OptionTrip,-group,$(NASHORNAPI_GROUPNAME),$(NASHORNAPI_REGEXP)); \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1382 |
$(call OptionTrip,-linkoffline,$(NASHORNAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1383 |
) >> $@ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1384 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1385 |
# Create a file with the package names in it |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1386 |
$(NASHORNAPI_PACKAGES_FILE): $(call PackageDependencies,$(NASHORNAPI_PKGS)) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1387 |
$(prep-target) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1388 |
$(call PackageFilter,$(NASHORNAPI_PKGS)) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1389 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1390 |
############################################################# |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1391 |
# |
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1392 |
# dynalinkapidocs |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1393 |
# |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1394 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1395 |
ALL_OTHER_TARGETS += dynalinkapidocs |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1396 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1397 |
DYNALINKAPI_DOCDIR := $(JDK_API_DOCSDIR)/dynalink |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1398 |
DYNALINKAPI2COREAPI := ../$(JDKJRE2COREAPI) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1399 |
DYNALINKAPI_DOCTITLE := Dynalink API |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1400 |
DYNALINKAPI_WINDOWTITLE := Dynalink API |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1401 |
DYNALINKAPI_HEADER := <strong>Dynalink API</strong> |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1402 |
DYNALINKAPI_BOTTOM := $(call CommonBottom,$(DYNALINKAPI_FIRST_COPYRIGHT_YEAR)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1403 |
DYNALINKAPI_GROUPNAME := Packages |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1404 |
DYNALINKAPI_REGEXP := jdk.dynalink.* |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1405 |
# DYNALINKAPI_PKGS is located in NON_CORE_PKGS.gmk |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1406 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1407 |
DYNALINKAPI_INDEX_HTML = $(DYNALINKAPI_DOCDIR)/index.html |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1408 |
DYNALINKAPI_OPTIONS_FILE = $(DOCSTMPDIR)/dynalinkapi.options |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1409 |
DYNALINKAPI_PACKAGES_FILE = $(DOCSTMPDIR)/dynalinkapi.packages |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1410 |
|
36506 | 1411 |
# The modules required to be documented |
1412 |
DYNALINKAPI_MODULES = jdk.dynalink |
|
1413 |
||
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1414 |
dynalinkapidocs: $(DYNALINKAPI_INDEX_HTML) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1415 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1416 |
# Set relative location to core api document root |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1417 |
$(DYNALINKAPI_INDEX_HTML): GET2DOCSDIR=$(DYNALINKAPI2COREAPI)/.. |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1418 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1419 |
# Run javadoc if the index file is out of date or missing |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1420 |
$(DYNALINKAPI_INDEX_HTML): $(DYNALINKAPI_OPTIONS_FILE) $(DYNALINKAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1421 |
$(prep-javadoc) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1422 |
$(call JavadocSummary,$(DYNALINKAPI_OPTIONS_FILE),$(DYNALINKAPI_PACKAGES_FILE)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1423 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1424 |
@$(DYNALINKAPI_OPTIONS_FILE) @$(DYNALINKAPI_PACKAGES_FILE) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1425 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1426 |
# Create file with javadoc options in it |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1427 |
$(DYNALINKAPI_OPTIONS_FILE): |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1428 |
$(prep-target) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1429 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1430 |
$(call COMMON_JAVADOCTAGS) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1431 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 1432 |
$(call OptionPair,-system,none) ; \ |
1433 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1434 |
$(call OptionPair,-addmods,$(DYNALINKAPI_MODULES)) ; \ |
|
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1435 |
$(call OptionPair,-encoding,ascii) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1436 |
$(call OptionPair,-doctitle,$(DYNALINKAPI_DOCTITLE)) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1437 |
$(call OptionPair,-windowtitle,$(DYNALINKAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1438 |
$(call OptionPair,-header,$(DYNALINKAPI_HEADER)$(DRAFT_HEADER)) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1439 |
$(call OptionPair,-bottom,$(DYNALINKAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1440 |
$(call OptionTrip,-linkoffline,$(DYNALINKAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1441 |
) >> $@ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1442 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1443 |
# Create a file with the package names in it |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1444 |
$(DYNALINKAPI_PACKAGES_FILE): $(call PackageDependencies,$(DYNALINKAPI_PKGS)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1445 |
$(prep-target) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1446 |
$(call PackageFilter,$(DYNALINKAPI_PKGS)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1447 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1448 |
############################################################# |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1449 |
# |
13697 | 1450 |
# sctpdocs |
1451 |
# |
|
1452 |
||
1453 |
ALL_OTHER_TARGETS += sctpdocs |
|
1454 |
||
20363 | 1455 |
SCTPAPI_DOCDIR := $(JRE_API_DOCSDIR)/nio/sctp/spec |
1456 |
SCTPAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
1457 |
SCTPAPI_DOCTITLE := SCTP API |
|
13697 | 1458 |
SCTPAPI_WINDOWTITLE := SCTP API |
20363 | 1459 |
SCTPAPI_HEADER := <strong>SCTP API</strong> |
1460 |
SCTPAPI_BOTTOM := $(call CommonBottom,$(SCTPAPI_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1461 |
# SCTPAPI_PKGS is located in NON_CORE_PKGS.gmk |
1462 |
||
20363 | 1463 |
SCTPAPI_INDEX_HTML = $(SCTPAPI_DOCDIR)/index.html |
1464 |
SCTPAPI_OPTIONS_FILE = $(DOCSTMPDIR)/sctp.options |
|
13697 | 1465 |
SCTPAPI_PACKAGES_FILE = $(DOCSTMPDIR)/sctp.packages |
1466 |
||
36506 | 1467 |
# The modules required to be documented |
1468 |
SCTPAPI_MODULES = jdk.sctp |
|
1469 |
||
13697 | 1470 |
sctpdocs: $(SCTPAPI_INDEX_HTML) |
1471 |
||
1472 |
# Set relative location to core api document root |
|
1473 |
$(SCTPAPI_INDEX_HTML): GET2DOCSDIR=$(SCTPAPI2COREAPI)/.. |
|
1474 |
||
1475 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1476 |
$(SCTPAPI_INDEX_HTML): $(SCTPAPI_OPTIONS_FILE) $(SCTPAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1477 |
$(prep-javadoc) |
1478 |
$(call JavadocSummary,$(SCTPAPI_OPTIONS_FILE),$(SCTPAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1479 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1480 |
@$(SCTPAPI_OPTIONS_FILE) @$(SCTPAPI_PACKAGES_FILE) |
13697 | 1481 |
|
1482 |
# Create file with javadoc options in it |
|
1483 |
$(SCTPAPI_OPTIONS_FILE): |
|
1484 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1485 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1486 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1487 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1488 |
$(call OptionPair,-system,none) ; \ |
1489 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1490 |
$(call OptionPair,-addmods,$(SCTPAPI_MODULES)) ; \ |
|
20363 | 1491 |
$(call OptionPair,-encoding,ascii) ; \ |
1492 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1493 |
$(call OptionPair,-doctitle,$(SCTPAPI_DOCTITLE)) ; \ |
|
1494 |
$(call OptionPair,-windowtitle,$(SCTPAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1495 |
$(call OptionPair,-header,$(SCTPAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
1496 |
$(call OptionPair,-bottom,$(SCTPAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1497 |
$(call OptionTrip,-linkoffline,$(SCTPAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1498 |
) >> $@ |
13697 | 1499 |
|
1500 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1501 |
$(SCTPAPI_PACKAGES_FILE): $(call PackageDependencies,$(SCTPAPI_PKGS)) |
13697 | 1502 |
$(prep-target) |
1503 |
$(call PackageFilter,$(SCTPAPI_PKGS)) |
|
1504 |
||
1505 |
############################################################# |
|
1506 |
# |
|
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1507 |
# jaccessdocs - Java Accessibility Utilities |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1508 |
# |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1509 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1510 |
ALL_OTHER_TARGETS += jaccessdocs |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1511 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1512 |
JACCESSAPI_DOCDIR := $(JRE_API_DOCSDIR)/accessibility/jaccess/spec |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1513 |
JACCESSAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1514 |
JACCESSAPI_DOCTITLE := JACCESS API |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1515 |
JACCESSAPI_WINDOWTITLE := JACCESS API |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1516 |
JACCESSAPI_HEADER := <strong>JACCESS API</strong> |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1517 |
JACCESSAPI_BOTTOM := $(call CommonBottom,$(JACCESSAPI_FIRST_COPYRIGHT_YEAR)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1518 |
# JACCESSAPI_PKGS is located in NON_CORE_PKGS.gmk |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1519 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1520 |
JACCESSAPI_INDEX_HTML = $(JACCESSAPI_DOCDIR)/index.html |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1521 |
JACCESSAPI_OPTIONS_FILE = $(DOCSTMPDIR)/jaccess.options |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1522 |
JACCESSAPI_PACKAGES_FILE = $(DOCSTMPDIR)/jaccess.packages |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1523 |
|
36506 | 1524 |
# The modules required to be documented |
1525 |
JACCESSAPI_MODULES = jdk.accessibility |
|
1526 |
||
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1527 |
jaccessdocs: $(JACCESSAPI_INDEX_HTML) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1528 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1529 |
# Set relative location to core api document root |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1530 |
$(JACCESSAPI_INDEX_HTML): GET2DOCSDIR=$(JACCESSAPI2COREAPI)/.. |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1531 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1532 |
# Run javadoc if the index file is out of date or missing |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1533 |
$(JACCESSAPI_INDEX_HTML): $(JACCESSAPI_OPTIONS_FILE) $(JACCESSAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1534 |
$(prep-javadoc) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1535 |
$(call JavadocSummary,$(JACCESSAPI_OPTIONS_FILE),$(JACCESSAPI_PACKAGES_FILE)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1536 |
$(JAVADOC_CMD) -d $(@D) \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1537 |
@$(JACCESSAPI_OPTIONS_FILE) @$(JACCESSAPI_PACKAGES_FILE) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1538 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1539 |
# Create file with javadoc options in it |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1540 |
$(JACCESSAPI_OPTIONS_FILE): |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1541 |
$(prep-target) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1542 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1543 |
$(call COMMON_JAVADOCTAGS) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1544 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 1545 |
$(call OptionPair,-system,none) ; \ |
1546 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1547 |
$(call OptionPair,-addmods,$(JACCESSAPI_MODULES)) ; \ |
|
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1548 |
$(call OptionPair,-encoding,ascii) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1549 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1550 |
$(call OptionPair,-doctitle,$(JACCESSAPI_DOCTITLE)) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1551 |
$(call OptionPair,-windowtitle,$(JACCESSAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1552 |
$(call OptionPair,-header,$(JACCESSAPI_HEADER)$(DRAFT_HEADER)) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1553 |
$(call OptionPair,-bottom,$(JACCESSAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1554 |
$(call OptionTrip,-linkoffline,$(JACCESSAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1555 |
) >> $@ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1556 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1557 |
# Create a file with the package names in it |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1558 |
$(JACCESSAPI_PACKAGES_FILE): $(call PackageDependencies,$(JACCESSAPI_PKGS)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1559 |
$(prep-target) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1560 |
$(call PackageFilter,$(JACCESSAPI_PKGS)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1561 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1562 |
############################################################# |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1563 |
# |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1564 |
# jdk.net docs |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1565 |
# |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1566 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1567 |
ALL_OTHER_TARGETS += jdknetdocs |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1568 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1569 |
JDKNET_DOCDIR := $(JRE_API_DOCSDIR)/net/socketoptions/spec |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1570 |
JDKNET2COREAPI := ../../../$(JDKJRE2COREAPI) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1571 |
JDKNET_DOCTITLE := jdk.net API |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1572 |
JDKNET_WINDOWTITLE := jdk.net API |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1573 |
JDKNET_HEADER := <strong>jdk.net API</strong> |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1574 |
JDKNET_BOTTOM := $(call CommonBottom,$(JDKNET_FIRST_COPYRIGHT_YEAR)) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1575 |
JDKNET_PKGS := jdk.net |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1576 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1577 |
JDKNET_INDEX_HTML = $(JDKNET_DOCDIR)/index.html |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1578 |
JDKNET_OPTIONS_FILE = $(DOCSTMPDIR)/jdknet.options |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1579 |
JDKNET_PACKAGES_FILE = $(DOCSTMPDIR)/jdknet.packages |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1580 |
|
36506 | 1581 |
# The modules required to be documented |
37650
ef6c24163cb2
8044773: Refactor jdk.net API so that it can be moved out of the base module
chegar
parents:
37034
diff
changeset
|
1582 |
JDKNET_MODULES = jdk.net |
36506 | 1583 |
|
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1584 |
jdknetdocs: $(JDKNET_INDEX_HTML) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1585 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1586 |
# Set relative location to core api document root |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1587 |
$(JDKNET_INDEX_HTML): GET2DOCSDIR=$(JDKNET2COREAPI)/.. |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1588 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1589 |
# Run javadoc if the index file is out of date or missing |
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1590 |
$(JDKNET_INDEX_HTML): $(JDKNET_OPTIONS_FILE) $(JDKNET_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1591 |
$(prep-javadoc) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1592 |
$(call JavadocSummary,$(JDKNET_OPTIONS_FILE),$(JDKNET_PACKAGES_FILE)) |
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1593 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1594 |
@$(JDKNET_OPTIONS_FILE) @$(JDKNET_PACKAGES_FILE) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1595 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1596 |
# Create file with javadoc options in it |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1597 |
$(JDKNET_OPTIONS_FILE): |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1598 |
$(prep-target) |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1599 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1600 |
$(call COMMON_JAVADOCTAGS) ; \ |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1601 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1602 |
$(call OptionPair,-system,none) ; \ |
1603 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1604 |
$(call OptionPair,-addmods,$(JDKNET_MODULES)) ; \ |
|
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1605 |
$(call OptionPair,-encoding,ascii) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1606 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1607 |
$(call OptionPair,-doctitle,$(JDKNET_DOCTITLE)) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1608 |
$(call OptionPair,-windowtitle,$(JDKNET_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1609 |
$(call OptionPair,-header,$(JDKNET_HEADER)$(DRAFT_HEADER)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1610 |
$(call OptionPair,-bottom,$(JDKNET_BOTTOM)$(DRAFT_BOTTOM)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1611 |
$(call OptionTrip,-linkoffline,$(JDKNET2COREAPI),$(COREAPI_DOCSDIR)/); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1612 |
) >> $@ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1613 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1614 |
# Create a file with the package names in it |
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1615 |
$(JDKNET_PACKAGES_FILE): $(call PackageDependencies,$(JDKNET_PKGS)) |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1616 |
$(prep-target) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1617 |
$(call PackageFilter,$(JDKNET_PKGS)) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1618 |
|
36506 | 1619 |
############################################################# |
1620 |
# |
|
1621 |
# jlink plugin API docs |
|
1622 |
# |
|
1623 |
# TODO: Need to decide when the plugin API is ready to publish as experimental API. |
|
1624 |
# This target is temporarily added for internal use for now. |
|
1625 |
# |
|
1626 |
||
1627 |
ALL_OTHER_TARGETS += jlinkdocs |
|
1628 |
||
1629 |
JLINK_PLUGIN_FIRST_COPYRIGHT_YEAR = 2015 |
|
1630 |
JLINK_PLUGIN_DOCDIR := $(JDK_API_DOCSDIR)/jlink |
|
1631 |
JLINK_PLUGIN2COREAPI := ../$(JDKJRE2COREAPI) |
|
1632 |
JLINK_PLUGIN_DOCTITLE := JLink Plugin API - EXPERIMENTAL |
|
1633 |
JLINK_PLUGIN_WINDOWTITLE := JLink Plugin API - EXPERIMENTAL |
|
1634 |
JLINK_PLUGIN_HEADER := <strong>JLink Plugin API - EXPERIMENTAL</strong> |
|
1635 |
JLINK_PLUGIN_BOTTOM := $(call CommonBottom,$(JLINK_PLUGIN_FIRST_COPYRIGHT_YEAR)) |
|
37951 | 1636 |
JLINK_PLUGIN_PKGS = jdk.tools.jlink.plugin |
36506 | 1637 |
|
1638 |
JLINK_PLUGIN_INDEX_HTML = $(JLINK_PLUGIN_DOCDIR)/index.html |
|
1639 |
JLINK_PLUGIN_OPTIONS_FILE = $(DOCSTMPDIR)/jlinkplugins.options |
|
1640 |
JLINK_PLUGIN_PACKAGES_FILE = $(DOCSTMPDIR)/jlinkplugins.packages |
|
1641 |
||
1642 |
# The modules required to be documented |
|
1643 |
JLINK_PLUGIN_MODULES = jdk.jlink |
|
1644 |
||
1645 |
jlinkdocs: $(JLINK_PLUGIN_INDEX_HTML) |
|
1646 |
||
1647 |
# Set relative location to core api document root |
|
1648 |
$(JLINK_PLUGIN_INDEX_HTML): GET2DOCSDIR=$(JLINK_PLUGIN2COREAPI)/.. |
|
1649 |
||
1650 |
# Run javadoc if the index file is out of date or missing |
|
1651 |
$(JLINK_PLUGIN_INDEX_HTML): $(JLINK_PLUGIN_OPTIONS_FILE) $(JLINK_PLUGIN_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
|
1652 |
$(prep-javadoc) |
|
1653 |
$(call JavadocSummary,$(JLINK_PLUGIN_OPTIONS_FILE),$(JLINK_PLUGIN_PACKAGES_FILE)) |
|
1654 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
|
1655 |
@$(JLINK_PLUGIN_OPTIONS_FILE) @$(JLINK_PLUGIN_PACKAGES_FILE) |
|
1656 |
||
1657 |
# Create file with javadoc options in it |
|
1658 |
$(JLINK_PLUGIN_OPTIONS_FILE): |
|
1659 |
$(prep-target) |
|
1660 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
|
1661 |
$(call COMMON_JAVADOCTAGS) ; \ |
|
1662 |
$(call OptionOnly,-Xdoclint:none) ; \ |
|
1663 |
$(call OptionPair,-system,none) ; \ |
|
1664 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1665 |
$(call OptionPair,-addmods,$(JLINK_PLUGIN_MODULES)) ; \ |
|
1666 |
$(call OptionPair,-encoding,ascii) ; \ |
|
1667 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1668 |
$(call OptionPair,-doctitle,$(JLINK_PLUGIN_DOCTITLE)) ; \ |
|
1669 |
$(call OptionPair,-windowtitle,$(JLINK_PLUGIN_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1670 |
$(call OptionPair,-header,$(JLINK_PLUGIN_HEADER)$(DRAFT_HEADER)); \ |
|
1671 |
$(call OptionPair,-bottom,$(JLINK_PLUGIN_BOTTOM)$(DRAFT_BOTTOM)); \ |
|
1672 |
$(call OptionTrip,-linkoffline,$(JLINK_PLUGIN2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
1673 |
) >> $@ |
|
1674 |
||
1675 |
# Create a file with the package names in it |
|
1676 |
$(JLINK_PLUGIN_PACKAGES_FILE): $(call PackageDependencies,$(JLINK_PLUGIN_PKGS)) |
|
1677 |
$(prep-target) |
|
1678 |
$(call PackageFilter,$(JLINK_PLUGIN_PKGS)) |
|
1679 |
||
13697 | 1680 |
|
1681 |
otherdocs: $(ALL_OTHER_TARGETS) |
|
1682 |
||
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1683 |
# |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1684 |
# Add the core docs as prerequisite to the archive to trigger a rebuild |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1685 |
# if the core docs were rebuilt. Ideally any doc rebuild should trigger |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1686 |
# this, but the way prerequisites are currently setup in this file, that |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1687 |
# is hard to achieve. |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1688 |
# |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1689 |
|
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1690 |
$(JAVADOC_ARCHIVE): $(COREAPI_INDEX_FILE) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1691 |
$(call LogInfo, Compressing javadoc to single $(JAVADOC_ARCHIVE_NAME)) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1692 |
$(MKDIR) -p $(JAVADOC_ARCHIVE_DIR) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1693 |
$(RM) -r $(JAVADOC_ARCHIVE_ASSEMBLY_DIR) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1694 |
$(MKDIR) -p $(JAVADOC_ARCHIVE_ASSEMBLY_DIR) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1695 |
all_roots=`$(FIND) $(DOCSDIR) | $(GREP) index.html | grep -v old/doclet`; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1696 |
pushd $(JAVADOC_ARCHIVE_ASSEMBLY_DIR); \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1697 |
for index_file in $${all_roots} ; do \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1698 |
target_dir=`dirname $${index_file}`; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1699 |
name=`$(ECHO) $${target_dir} | $(SED) "s;/spec;;" | $(SED) "s;.*/;;"`; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1700 |
$(LN) -s $${target_dir} $${name}; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1701 |
done; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1702 |
$(ZIP) -q -r $(JAVADOC_ARCHIVE) * ; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1703 |
popd ; |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1704 |
|
13697 | 1705 |
############################################################# |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
1706 |
.PHONY: all docs coredocs otherdocs \ |
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
1707 |
$(ALL_OTHER_TARGETS) zip-docs |