changeset 5770:2b405fdb2a6d

8007450: Add build support for different man pages for OpenJDK and OracleJDK Reviewed-by: tbell, ohair
author erikj
date Thu, 14 Feb 2013 10:03:11 -0800
parents d60db64c6435
children 2f5d66a7d930
files make/common/Release.gmk
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Release.gmk	Thu Feb 14 14:14:19 2013 +0000
+++ b/make/common/Release.gmk	Thu Feb 14 10:03:11 2013 -0800
@@ -171,12 +171,20 @@
 endif
 
 ifeq ($(PLATFORM), solaris)
-  MANBASEDIRS=$(JDK_TOPDIR)/src/solaris/doc $(IMPORTDOCDIR)
+  ifndef OPENJDK
+    MANBASEDIRS=$(CLOSED_SRC)/solaris/doc $(IMPORTDOCDIR)
+  else
+    MANBASEDIRS=$(JDK_TOPDIR)/src/solaris/doc $(IMPORTDOCDIR)
+  endif
   MAN1SUBDIR=sun/man/man1
 endif # solaris
 
 ifeq ($(PLATFORM), linux)
-  MANBASEDIRS=$(JDK_TOPDIR)/src/linux/doc $(IMPORTDOCDIR)
+  ifndef OPENJDK
+    MANBASEDIRS=$(CLOSED_SRC)/linux/doc $(IMPORTDOCDIR)
+  else
+    MANBASEDIRS=$(JDK_TOPDIR)/src/linux/doc $(IMPORTDOCDIR)
+  endif
   MAN1SUBDIR=man
   JA_DIRNAME=ja_JP.UTF-8
 endif # linux