Add “BINARY_DIST_DIR” to Makefile
authorMoritz Angermann <moritz.angermann@gmail.com>
Fri, 28 Jul 2017 15:44:33 +0000 (11:44 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 28 Jul 2017 16:36:48 +0000 (12:36 -0400)
commit274e9b27de30e1b7d5db8cb97b34d53ae9609a9b
tree1094f3284ae7bd285bfd3dfd715897e832db7dfd
parent262bb95f5e00eea783d3e756fe86d96839be45d7
Add “BINARY_DIST_DIR” to Makefile

This allows to customize the location where binary distributions are
placed with `make binary-dist`.

E.g. using:
```
BINARY_DIST_DIR=/path/to/bindists make binary-dist
```
will place binary dists outside of the source tree into the given
folder.

This change falls back to ".", which is the old behaviour.

Test Plan: build binary-dist

Reviewers: bgamari, austin

Reviewed By: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3798
Makefile