equal
deleted
inserted
replaced
312 |
312 |
313 # The index.html which is a marker for all the output from javadoc. |
313 # The index.html which is a marker for all the output from javadoc. |
314 $1_INDEX_FILE := $$(JAVADOC_OUTPUTDIR)/$$($1_OUTPUT_DIRNAME)/index.html |
314 $1_INDEX_FILE := $$(JAVADOC_OUTPUTDIR)/$$($1_OUTPUT_DIRNAME)/index.html |
315 |
315 |
316 # Rule for actually running javadoc |
316 # Rule for actually running javadoc |
317 $$($1_INDEX_FILE): $(BUILD_TOOLS_JDK) $$($1_VARDEPS_FILE) $$($1_PACKAGE_DEPS) $$($1_DEPS) |
317 $$($1_INDEX_FILE): $$(BUILD_TOOLS_JDK) $$($1_VARDEPS_FILE) $$($1_PACKAGE_DEPS) $$($1_DEPS) |
318 $$(call LogWarn, Generating Javadoc from $$(words $$($1_PACKAGES)) package(s) for $$($1_OUTPUT_DIRNAME)) |
318 $$(call LogWarn, Generating Javadoc from $$(words $$($1_PACKAGES)) package(s) for $$($1_OUTPUT_DIRNAME)) |
319 $$(call MakeDir, $$(@D)) |
319 $$(call MakeDir, $$(@D)) |
320 ifneq ($$($1_PACKAGES_FILE), ) |
320 ifneq ($$($1_PACKAGES_FILE), ) |
321 $$(eval $$(call ListPathsSafely, $1_PACKAGES, $$($1_PACKAGES_FILE))) |
321 $$(eval $$(call ListPathsSafely, $1_PACKAGES, $$($1_PACKAGES_FILE))) |
322 endif |
322 endif |
355 ################################################################################ |
355 ################################################################################ |
356 |
356 |
357 $(eval $(call SetupJavadocGeneration, docletapi, \ |
357 $(eval $(call SetupJavadocGeneration, docletapi, \ |
358 MODULES := jdk.javadoc, \ |
358 MODULES := jdk.javadoc, \ |
359 PACKAGES := \ |
359 PACKAGES := \ |
360 jdk.javadoc.doclet \ |
360 jdk.javadoc.doclet, \ |
361 jdk.javadoc.doclet.taglet \ |
|
362 jdk.javadoc.doclets, \ |
|
363 API_ROOT := jdk, \ |
361 API_ROOT := jdk, \ |
364 DEST_DIR := javadoc/doclet, \ |
362 DEST_DIR := javadoc/doclet, \ |
365 TITLE := Doclet API, \ |
363 TITLE := Doclet API, \ |
366 FIRST_COPYRIGHT_YEAR := 1993, \ |
364 FIRST_COPYRIGHT_YEAR := 1993, \ |
367 )) |
365 )) |
741 # Hook to include the corresponding custom file, if present. |
739 # Hook to include the corresponding custom file, if present. |
742 $(eval $(call IncludeCustomExtension, , Javadoc.gmk)) |
740 $(eval $(call IncludeCustomExtension, , Javadoc.gmk)) |
743 |
741 |
744 ################################################################################ |
742 ################################################################################ |
745 |
743 |
746 docs-javadoc: $(BUILD_TOOLS_JDK) $(TARGETS) |
744 docs-javadoc: $(TARGETS) |
747 |
745 |
748 docs-copy: $(COPY_TARGETS) |
746 docs-copy: $(COPY_TARGETS) |
749 |
747 |
750 docs-zip: $(ZIP_TARGETS) |
748 docs-zip: $(ZIP_TARGETS) |
751 |
749 |