8026144: Missing mkdir in Images.gmk
authorerikj
Wed, 09 Oct 2013 16:22:13 +0200
changeset 20544 636a866d26f0
parent 20337 b9a0f6c693f3
child 20546 5e40a295cce2
8026144: Missing mkdir in Images.gmk Reviewed-by: tbell
jdk/makefiles/Images.gmk
--- a/jdk/makefiles/Images.gmk	Wed Jul 05 19:15:04 2017 +0200
+++ b/jdk/makefiles/Images.gmk	Wed Oct 09 16:22:13 2013 +0200
@@ -554,10 +554,12 @@
 
     $(JDK_IMAGE_DIR)/db/README-JDK.html: $(JDK_TOPDIR)/src/closed/share/db/README-JDK.html
 	$(ECHO) $(LOG_INFO) Copying '$(patsubst $(OUTPUT_ROOT)/%,%,$@)'
+	$(MKDIR) -p $(@D)
 	$(CAT) $< | $(SED) "s/XXXX/$(shell cat $(JDK_TOPDIR)/src/closed/share/db/COPYRIGHTYEAR)/" > $@
 
     $(JDK_IMAGE_DIR)/db/3RDPARTY: $(JDK_TOPDIR)/src/closed/share/db/3RDPARTY
 	$(ECHO) $(LOG_INFO) Copying '$(patsubst $(OUTPUT_ROOT)/%,%,$@)'
+	$(MKDIR) -p $(@D)
 	$(CAT) $< | $(SED) "s/XXXX/$(shell cat $(JDK_TOPDIR)/src/closed/share/db/COPYRIGHTYEAR)/" > $@
 
     JDK_DB_TARGETS := $(patsubst $(JDK_TOPDIR)/src/closed/share/db/%,$(IMAGES_OUTPUTDIR)/_unzip/%.unzipped,\