Skip to content

Commit

Permalink
Use make-command in rules/bindist.mk
Browse files Browse the repository at this point in the history
Rather than it having its own specialised version
  • Loading branch information
igfoo committed Aug 18, 2010
1 parent f1c16ba commit 5d6318b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions rules/bindist.mk
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -23,14 +23,10 @@ define bindist
bindist: bindist_$1 bindist: bindist_$1


bindist_$1: bindist_$1:
$(foreach i,$2,$(call bindist_item,$i)) $(foreach i,$2,\
endef $(call make-command,\

for f in $i; do echo $(BIN_DIST_NAME)/$$$$f >> $(BIN_DIST_LIST); done \
define bindist_item ) \

)
# $1 = the line
# The formatting of this definition (e.g. the blank line above) is
# important, in order to get make to generate the right makefile code.
for f in $1; do echo $(BIN_DIST_NAME)/$$$$f >> $(BIN_DIST_LIST); done
endef endef


0 comments on commit 5d6318b

Please sign in to comment.