7192804: Build should not install jvisualvm man page for OpenJDK
authorandrew
Thu, 23 Aug 2012 15:42:23 +0100
changeset 13497 2c09fb7cdf7f
parent 13460 c7aa5cca1c01
child 13498 9b806d4f69be
7192804: Build should not install jvisualvm man page for OpenJDK Summary: OpenJDK builds don't ship VisualVM so shouldn't ship its man page either. Reviewed-by: dholmes
jdk/make/common/Release.gmk
jdk/makefiles/Images.gmk
--- a/jdk/make/common/Release.gmk	Wed Jul 05 18:20:00 2017 +0200
+++ b/jdk/make/common/Release.gmk	Thu Aug 23 15:42:23 2012 +0100
@@ -156,7 +156,6 @@
         jstack.1           \
         jstat.1            \
         jstatd.1           \
-        jvisualvm.1        \
 	native2ascii.1     \
 	rmic.1             \
         schemagen.1        \
@@ -165,6 +164,10 @@
         wsimport.1         \
         xjc.1
 
+ifndef OPENJDK
+  JDK_MAN_PAGES += jvisualvm.1
+endif
+
 ifeq ($(PLATFORM), solaris)
   MANBASEDIRS=$(JDK_TOPDIR)/src/solaris/doc $(IMPORTDOCDIR)
   MAN1SUBDIR=sun/man/man1
--- a/jdk/makefiles/Images.gmk	Wed Jul 05 18:20:00 2017 +0200
+++ b/jdk/makefiles/Images.gmk	Thu Aug 23 15:42:23 2012 +0100
@@ -237,7 +237,6 @@
         jstack.1           \
         jstat.1            \
         jstatd.1           \
-	jvisualvm.1        \
 	native2ascii.1     \
 	rmic.1             \
         schemagen.1        \
@@ -246,6 +245,10 @@
         wsimport.1         \
         xjc.1
 
+ifndef OPENJDK
+  JDK_MAN_PAGES += jvisualvm.1
+endif
+
 ifeq ($(OPENJDK_TARGET_OS), linux)
     MAN_SRC_DIR:=$(JDK_TOPDIR)/src/linux/doc
     MAN1_SUBDIR:=man