Skip to content

Commit 7e51cd1

Browse files
committed
7192804: Build should not install jvisualvm man page for OpenJDK
OpenJDK builds don't ship VisualVM so shouldn't ship its man page either. Reviewed-by: dholmes
1 parent b07a721 commit 7e51cd1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

jdk/make/common/Release.gmk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ JDK_MAN_PAGES = \
156156
jstack.1 \
157157
jstat.1 \
158158
jstatd.1 \
159-
jvisualvm.1 \
160159
native2ascii.1 \
161160
rmic.1 \
162161
schemagen.1 \
@@ -165,6 +164,10 @@ JDK_MAN_PAGES = \
165164
wsimport.1 \
166165
xjc.1
167166

167+
ifndef OPENJDK
168+
JDK_MAN_PAGES += jvisualvm.1
169+
endif
170+
168171
ifeq ($(PLATFORM), solaris)
169172
MANBASEDIRS=$(JDK_TOPDIR)/src/solaris/doc $(IMPORTDOCDIR)
170173
MAN1SUBDIR=sun/man/man1

jdk/makefiles/Images.gmk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ JDK_MAN_PAGES = \
237237
jstack.1 \
238238
jstat.1 \
239239
jstatd.1 \
240-
jvisualvm.1 \
241240
native2ascii.1 \
242241
rmic.1 \
243242
schemagen.1 \
@@ -246,6 +245,10 @@ JDK_MAN_PAGES = \
246245
wsimport.1 \
247246
xjc.1
248247

248+
ifndef OPENJDK
249+
JDK_MAN_PAGES += jvisualvm.1
250+
endif
251+
249252
ifeq ($(OPENJDK_TARGET_OS), linux)
250253
MAN_SRC_DIR:=$(JDK_TOPDIR)/src/linux/doc
251254
MAN1_SUBDIR:=man

0 commit comments

Comments
 (0)