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
--- 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