X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fbindist.mk;h=3018f51a445b435cd530054da33fc75741e4fcef;hb=4a73af53332e94ca56a6faed96f8391c14ecfa18;hp=00421cda727f4e3b58503b43eb8294837520ea34;hpb=cd134d6eb8e21d85e2340d2eb6177d5b6139aff8;p=ghc-hetmet.git diff --git a/mk/bindist.mk b/mk/bindist.mk index 00421cd..3018f51 100644 --- a/mk/bindist.mk +++ b/mk/bindist.mk @@ -5,6 +5,10 @@ EXE_DIST_DIR = dist-install # XXX This is a bit of a mess. Really we should be just asking Cabal # what it would install and putting those files in the bindist. binary-dist: +ifeq "$(WHERE_AM_I)" "" + echo "I don't know where I am" >&2 + exit 1 +endif # General bits -find . -name Makefile -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null -find . -name LICENSE -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null