make/sanity-rules.gmk

Print this page

        

@@ -202,17 +202,13 @@
   ifneq ($(BUILD_SPONSORS), true)
         @$(ECHO) "WARNING: You are not building the SPONSORS sources.\n" \
            "" >> $(WARNING_FILE)
   endif
 endif
-ifndef OPENJDK
-  ifdef NO_DOCS
-        @$(ECHO) "WARNING: Your build environment has the variable NO_DOCS\n" \
-           "        defined. This will result in a development-only\n" \
-           "        build of the JDK, lacking the documentation.\n" \
+ifeq ($(GENERATE_DOCS),false)
+        @$(ECHO) "WARNING: This build does not include running javadoc.\n" \
            "" >> $(WARNING_FILE)
-  endif
 endif
 ifdef NO_IMAGES
         @$(ECHO) "WARNING: Your build environment has the variable NO_IMAGES\n" \
            "        defined. This will result in a development-only\n" \
            "        build of the JDK, lacking the install images\n" \

@@ -353,6 +349,6 @@
         @$(ECHO) "" >> $(MESSAGE_FILE)
 
 .PHONY: sanity settings pre-sanity insane \
         post-sanity post-sanity-hotspot post-sanity-jdk \
         post-sanity-install post-sanity-deploy \
-        alt_bootdir bootdir
+        alt_bootdir bootdir environment