6914986: Make sure openjdk doc generation not turned off with JDK_UPDATE_VERSION

Only turn off documentation for updates when not building OpenJDK

Reviewed-by: ohair
This commit is contained in:
Andrew John Hughes 2010-01-07 23:17:01 +00:00
parent 2ff37874ef
commit d298973077

View File

@ -231,9 +231,11 @@ endif
ifndef NO_DOCS
# Default value (we want javadoc run)
GENERATE_DOCS=true
# No DOCS build when JDK_UPDATE_VERSION set
ifdef JDK_UPDATE_VERSION
GENERATE_DOCS=false
# No DOCS build when JDK_UPDATE_VERSION set on non-OPENJDK builds
ifndef OPENJDK
ifdef JDK_UPDATE_VERSION
GENERATE_DOCS=false
endif
endif
# If langtools, corba, jaxp, and jaxws are not being built,
# a full jdk javadoc is not possible