blob: b9e093c56e38d04e007c9c5c91033a3593675bc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Add files to the bindist. Invoke like this:
#
# $(eval $(call bindist,utils/genapply,ghc.mk))
define bindist
# $1 = dir
# $2 = files
.PHONY: bindist_$1
bindist: bindist_$1
bindist_$1:
for f in $$(addprefix $1/,$2); do echo $(BIN_DIST_NAME)/$$$$f >> $(BIN_DIST_LIST); done
endef
|