make/copy/Copy-java.base.gmk
changeset 52065 dea8a62cdfc3
parent 51730 cd0775f67ab0
child 53683 48ff68e2fe5c
child 57145 ceaa243112bd
--- a/make/copy/Copy-java.base.gmk	Tue Oct 09 07:33:15 2018 -0400
+++ b/make/copy/Copy-java.base.gmk	Tue Oct 09 14:57:23 2018 -0700
@@ -128,7 +128,7 @@
 POLICY_SRC_LIST := $(POLICY_SRC)
 
 $(POLICY_DST): $(POLICY_SRC_LIST)
-	$(MKDIR) -p $(@D)
+	$(call MakeTargetDir)
 	$(RM) $@ $@.tmp
 	$(foreach f,$(POLICY_SRC_LIST),$(CAT) $(f) >> $@.tmp;)
 	$(MV) $@.tmp $@
@@ -153,7 +153,7 @@
 endif
 
 $(DEF_POLICY_DST): $(DEF_POLICY_SRC_LIST)
-	$(MKDIR) -p $(@D)
+	$(call MakeTargetDir)
 	$(RM) $@ $@.tmp
 	$(foreach f,$(DEF_POLICY_SRC_LIST),$(CAT) $(f) >> $@.tmp;)
 	$(MV) $@.tmp $@