make/Defs-internal.gmk
changeset 4557 06b5b429d9f5
parent 4309 39ca605f0647
child 5499 eb0b3e373167
--- 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