X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=driver%2FMakefile;fp=driver%2FMakefile;h=3fcb4be55652e0695bdce8a0807bbde36e700697;hb=0e5f01904f7df065547e1558df8917c11f676f77;hp=ca3504c283133506fef1022938ba4c272a49ddaa;hpb=e1826dcc04394bc35769573eea250ada2e1ad1a0;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