projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove commentary that is now in the wiki
[ghc-hetmet.git]
/
rules
/
bindist.mk
1
2
# Add files to the bindist. Invoke like this:
3
#
4
# $(eval $(call bindist,utils/genapply,ghc.mk))
5
6
define bindist
7
# $1 = dir
8
# $2 = files
9
10
.PHONY: bindist_$1
11
bindist: bindist_$1
12
13
bindist_$1:
14
for f in $$(addprefix $1/,$2); do echo $(BIN_DIST_NAME)/$$$$f >> $(BIN_DIST_LIST); done
15
endef
16