Merge "Fix creating _dist_<goal> targets under !dist"

This commit is contained in:
Treehugger Robot
2018-10-21 17:55:58 +00:00
committed by Gerrit Code Review

View File

@@ -24,7 +24,8 @@ $(foreach pair,$(DIST_GOAL_OUTPUT_PAIRS), \
$(eval output := $(call word-colon,2,$(pair))) \
$(eval .PHONY: _dist_$$(goal)) \
$(if $(call streq,$(DIST),true),\
$(eval _dist_$$(goal): $$(DIST_DIR)/$$(output))))
$(eval _dist_$$(goal): $$(DIST_DIR)/$$(output)), \
$(eval _dist_$$(goal):)))
define copy-one-dist-file
$(2): $(1)