diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-07-02 21:48:56 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-07-02 21:57:55 +0200 |
commit | bdf7f133d1d4bcc7ca3c0bbadda51ef542cccfb0 (patch) | |
tree | a4a9d4384fda7043a4a4667e20176167041ced0e /rules | |
parent | bdd0b719ea5f116b160bc37a09804d3eff14ecae (diff) | |
download | haskell-bdf7f133d1d4bcc7ca3c0bbadda51ef542cccfb0.tar.gz |
Build system: rename bindist to bindist-list...
...to prevent accidental use of `make bindist`, when `make binary-dist`
is called for.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/bindist.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rules/bindist.mk b/rules/bindist.mk index 06f654d9e1..49d8aa4d34 100644 --- a/rules/bindist.mk +++ b/rules/bindist.mk @@ -11,18 +11,18 @@ # ----------------------------------------------------------------------------- -# Add files to the bindist. Invoke like this: +# Add files to the bindist-list. Invoke like this: # -# $(eval $(call bindist,utils/genapply,ghc.mk)) +# $(eval $(call bindist-list,utils/genapply,ghc.mk)) -define bindist +define bindist-list # $1 = name # $2 = files -.PHONY: bindist_$1 -bindist: bindist_$1 +.PHONY: bindist-list_$1 +bindist-list: bindist-list_$1 -bindist_$1: +bindist-list_$1: $(foreach i,$2,\ $(call make-command,\ for f in $i; do echo $(BIN_DIST_NAME)/$$$$f >> bindist-list; done \ |