diff --git a/make/common/Release.gmk b/make/common/Release.gmk index 2d45f5e08346d9d1b2a7e1e2b54ae2d890976b3f..4c08ecda6627694d17feeea2731294bd69397392 100644 --- a/make/common/Release.gmk +++ b/make/common/Release.gmk @@ -156,7 +156,6 @@ JDK_MAN_PAGES = \ jstack.1 \ jstat.1 \ jstatd.1 \ - jvisualvm.1 \ native2ascii.1 \ rmic.1 \ schemagen.1 \ @@ -165,6 +164,10 @@ JDK_MAN_PAGES = \ 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 diff --git a/makefiles/Images.gmk b/makefiles/Images.gmk index bda32366082d7d9d9d78d46d5b19badea4fe063a..58474831f69d7fef16bf0bd28bda35d0fc7ffb1e 100644 --- a/makefiles/Images.gmk +++ b/makefiles/Images.gmk @@ -237,7 +237,6 @@ JDK_MAN_PAGES = \ jstack.1 \ jstat.1 \ jstatd.1 \ - jvisualvm.1 \ native2ascii.1 \ rmic.1 \ schemagen.1 \ @@ -246,6 +245,10 @@ JDK_MAN_PAGES = \ 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