X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=driver%2FMakefile;h=3fcb4be55652e0695bdce8a0807bbde36e700697;hb=b980fbf46aad86bab37a628cb8dc7f7602d7452d;hp=ca3504c283133506fef1022938ba4c272a49ddaa;hpb=eacfbdedf46dcc3105de1bbf642cf2572526c705;p=ghc-hetmet.git diff --git a/driver/Makefile b/driver/Makefile index ca3504c..3fcb4be 100644 --- a/driver/Makefile +++ b/driver/Makefile @@ -26,6 +26,10 @@ INSTALL_DATAS += ghc-usage.txt ghci-usage.txt CLEAN_FILES += stamp-pkg-conf-rts binary-dist: +ifeq "$(WHERE_AM_I)" "" + echo "I don't know where I am" >&2 + exit 1 +endif for FILE in Makefile $(INSTALL_DATAS); do echo $(WHERE_AM_I)/$$FILE >> $(BIN_DIST_LIST); done set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d binary-dist WHERE_AM_I=$(WHERE_AM_I)/$$d; done