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 ifndef NO_DOCS
# Default value (we want javadoc run) # Default value (we want javadoc run)
GENERATE_DOCS=true GENERATE_DOCS=true
# No DOCS build when JDK_UPDATE_VERSION set # No DOCS build when JDK_UPDATE_VERSION set on non-OPENJDK builds
ifdef JDK_UPDATE_VERSION ifndef OPENJDK
GENERATE_DOCS=false ifdef JDK_UPDATE_VERSION
GENERATE_DOCS=false
endif
endif endif
# If langtools, corba, jaxp, and jaxws are not being built, # If langtools, corba, jaxp, and jaxws are not being built,
# a full jdk javadoc is not possible # a full jdk javadoc is not possible