6914986: Make sure openjdk doc generation not turned off with JDK_UPDATE_VERSION
authorandrew
Thu, 07 Jan 2010 23:17:01 +0000
changeset 4557 06b5b429d9f5
parent 4554 e9c98378f6b9
child 4558 e28f9a870f12
6914986: Make sure openjdk doc generation not turned off with JDK_UPDATE_VERSION Summary: Only turn off documentation for updates when not building OpenJDK Reviewed-by: ohair
make/Defs-internal.gmk
--- a/make/Defs-internal.gmk	Wed Jul 05 17:05:07 2017 +0200
+++ b/make/Defs-internal.gmk	Thu Jan 07 23:17:01 2010 +0000
@@ -231,9 +231,11 @@
 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