make/Images.gmk
changeset 30318 8f085493151f
parent 30093 c8c926543552
child 30545 56cccb06d21c
equal deleted inserted replaced
30317:febd2373771c 30318:8f085493151f
    68 JRE_MODULES := $(MAIN_MODULES) $(PROVIDER_MODULES)
    68 JRE_MODULES := $(MAIN_MODULES) $(PROVIDER_MODULES)
    69 JDK_MODULES := $(JRE_MODULES) $(TOOLS_MODULES)
    69 JDK_MODULES := $(JRE_MODULES) $(TOOLS_MODULES)
    70 
    70 
    71 # compact3 builds have additional modules
    71 # compact3 builds have additional modules
    72 JDK_COMPACT3_MODULES := java.compact3 java.smartcardio jdk.httpserver jdk.naming.dns \
    72 JDK_COMPACT3_MODULES := java.compact3 java.smartcardio jdk.httpserver jdk.naming.dns \
    73                        jdk.naming.rmi jdk.sctp jdk.security.auth
    73                        jdk.naming.rmi jdk.sctp jdk.security.auth jdk.management
    74 
    74 
    75 # Replacing double-comma with a single comma is to workaround the issue
    75 # Replacing double-comma with a single comma is to workaround the issue
    76 # with some version of make on windows that doesn't substitute spaces
    76 # with some version of make on windows that doesn't substitute spaces
    77 # with one comma properly as with make 4.0
    77 # with one comma properly as with make 4.0
    78 define SubstComma
    78 define SubstComma
   253 
   253 
   254   $(JDK_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
   254   $(JDK_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
   255 	$(ECHO) $(LOG_INFO) Copying $(patsubst $(OUTPUT_ROOT)/%,%,$@)
   255 	$(ECHO) $(LOG_INFO) Copying $(patsubst $(OUTPUT_ROOT)/%,%,$@)
   256 	$(install-file)
   256 	$(install-file)
   257 
   257 
   258   define install-ja-manpage
       
   259 	$(MKDIR) -p $(@D)
       
   260 	$(CAT) $< \
       
   261 	    | $(NATIVE2ASCII) -encoding eucJP \
       
   262 	    | $(SED) 's/@@VERSION@@/$(THIS_JDK_VERSION)/g' \
       
   263 	    | $(NATIVE2ASCII) -reverse -encoding $1 \
       
   264 	    > $@
       
   265   endef
       
   266 
       
   267   $(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
   258   $(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
   268 	$(ECHO) $(LOG_INFO) Converting $(patsubst $(OUTPUT_ROOT)/%,%,$@)
   259 	$(ECHO) $(LOG_INFO) Copying $(patsubst $(OUTPUT_ROOT)/%,%,$@)
   269 	$(call install-ja-manpage, UTF-8)
   260 	$(install-file)
   270 
   261 
   271   $(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
   262   $(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
   272 	$(ECHO) $(LOG_INFO) Converting $(patsubst $(OUTPUT_ROOT)/%,%,$@)
   263 	$(ECHO) $(LOG_INFO) Copying $(patsubst $(OUTPUT_ROOT)/%,%,$@)
   273 	$(call install-ja-manpage, UTF-8)
   264 	$(install-file)
   274 
       
   275   $(JRE_IMAGE_DIR)/man/ja_JP.PCK/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
       
   276 	$(ECHO) $(LOG_INFO) Converting $(patsubst $(OUTPUT_ROOT)/%,%,$@)
       
   277 	$(call install-ja-manpage, PCK)
       
   278 
       
   279   $(JDK_IMAGE_DIR)/man/ja_JP.PCK/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
       
   280 	$(ECHO) $(LOG_INFO) Converting $(patsubst $(OUTPUT_ROOT)/%,%,$@)
       
   281 	$(call install-ja-manpage, PCK)
       
   282 
   265 
   283   ifeq ($(OPENJDK_TARGET_OS), solaris)
   266   ifeq ($(OPENJDK_TARGET_OS), solaris)
   284     $(JRE_IMAGE_DIR)/man/ja/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
   267     $(JRE_IMAGE_DIR)/man/ja/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
   285 	$(ECHO) $(LOG_INFO) Converting $(patsubst $(OUTPUT_ROOT)/%,%,$@)
   268 	$(ECHO) $(LOG_INFO) Converting $(patsubst $(OUTPUT_ROOT)/%,%,$@)
   286 	$(install-file)
   269 	$(install-file)