make/Javadoc.gmk
changeset 43113 ba406711a5a3
parent 43047 28be7f773e4e
child 43171 61b58ba86188
equal deleted inserted replaced
43112:6fd8396f2160 43113:ba406711a5a3
     1 # Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     1 # Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 #
     3 #
     4 # This code is free software; you can redistribute it and/or modify it
     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
     5 # under the terms of the GNU General Public License version 2 only, as
     6 # published by the Free Software Foundation.  Oracle designates this
     6 # published by the Free Software Foundation.  Oracle designates this
    84     DRAFT_WINDOW_TITLE_MARKER := $(SPACE)[ad-hoc build]
    84     DRAFT_WINDOW_TITLE_MARKER := $(SPACE)[ad-hoc build]
    85   else
    85   else
    86     DRAFT_WINDOW_TITLE_MARKER := $(SPACE)[build $(VERSION_BUILD)]
    86     DRAFT_WINDOW_TITLE_MARKER := $(SPACE)[build $(VERSION_BUILD)]
    87   endif
    87   endif
    88   EARLYACCESS_TOP := \
    88   EARLYACCESS_TOP := \
    89       <div style="background-color: $$(HASH)EEEEEE"><div style="padding: 6px; \
    89       <div style="background-color: $(HASH)EEEEEE"><div style="padding: 6px; \
    90       margin-top: 2px; margin-bottom: 6px; margin-left: 6px; margin-right: \
    90       margin-top: 2px; margin-bottom: 6px; margin-left: 6px; margin-right: \
    91       6px; text-align: justify; font-size: 80%; font-family: Helvetica, Arial, \
    91       6px; text-align: justify; font-size: 80%; font-family: Helvetica, Arial, \
    92       sans-serif; font-weight: normal;">Please note that the specifications \
    92       sans-serif; font-weight: normal;">Please note that the specifications \
    93       and other information contained herein are not final and are subject to \
    93       and other information contained herein are not final and are subject to \
    94       change. The information is being made available to you solely for \
    94       change. The information is being made available to you solely for \
   233     $1_DEPS += $(CORE_PACKAGES_LIST_FILE)
   233     $1_DEPS += $(CORE_PACKAGES_LIST_FILE)
   234   endif
   234   endif
   235 
   235 
   236   $1_OPTIONS += --add-modules $$(call CommaList, $$($1_MODULES))
   236   $1_OPTIONS += --add-modules $$(call CommaList, $$($1_MODULES))
   237 
   237 
   238   ifneq ($$(LOG_LEVEL), trace)
       
   239     $1_OPTIONS += -quiet
       
   240   endif
       
   241 
       
   242   ifneq ($$($1_DISABLED_DOCLINT), )
   238   ifneq ($$($1_DISABLED_DOCLINT), )
   243     # Create a string like ",-syntax,-html"
   239     # Create a string like ",-syntax,-html"
   244     $1_DOCLINT_EXCEPTIONS := ,$$(call CommaList, $$(addprefix -, $$($1_DISABLED_DOCLINT)))
   240     $1_DOCLINT_EXCEPTIONS := ,$$(call CommaList, $$(addprefix -, $$($1_DISABLED_DOCLINT)))
   245   endif
   241   endif
   246   $1_OPTIONS += -Xdoclint:all$$($1_DOCLINT_EXCEPTIONS)
   242   $1_OPTIONS += -Xdoclint:all$$($1_DOCLINT_EXCEPTIONS)
   289   endif
   285   endif
   290 
   286 
   291   $1_VARDEPS := $$($1_OPTIONS) $$($1_PACKAGES)
   287   $1_VARDEPS := $$($1_OPTIONS) $$($1_PACKAGES)
   292   $1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
   288   $1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
   293        $$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps)
   289        $$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps)
       
   290 
       
   291   # Do not store debug level options in VARDEPS.
       
   292   ifneq ($$(LOG_LEVEL), trace)
       
   293     $1_OPTIONS += -quiet
       
   294   else
       
   295     $1_OPTIONS += -verbose
       
   296   endif
   294 
   297 
   295   $1_PACKAGE_DEPS := $$(call CacheFind, $$(wildcard $$(foreach p, \
   298   $1_PACKAGE_DEPS := $$(call CacheFind, $$(wildcard $$(foreach p, \
   296       $$(subst .,/,$$(strip $$($1_PACKAGES))), \
   299       $$(subst .,/,$$(strip $$($1_PACKAGES))), \
   297       $$(addsuffix /$$p, $$(wildcard $$(JAVADOC_SOURCE_DIRS))))))
   300       $$(addsuffix /$$p, $$(wildcard $$(JAVADOC_SOURCE_DIRS))))))
   298 
   301