From 7230143f1621149febbebcd5447aecd2d93d1464 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 7 Dec 2007 12:13:17 +0000 Subject: [PATCH] BIN_DIST_INST_SUBDIR Needs to be defined in config.mk so ./Makefile can see it --- bindisttest/Makefile | 9 --------- mk/config.mk.in | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/bindisttest/Makefile b/bindisttest/Makefile index 2b56a05..b2cb231 100644 --- a/bindisttest/Makefile +++ b/bindisttest/Makefile @@ -8,15 +8,6 @@ default_target: all TOP=.. include $(TOP)/mk/boilerplate.mk -ifeq "$(Windows)" "YES" -BIN_DIST_INST_SUBDIR = "install dir" -else -# I very much doubt that paths with spaces will work on Unix -BIN_DIST_INST_SUBDIR = installed -endif - -BIN_DIST_INST_DIR = $(FPTOOLS_TOP_ABS)/bindisttest/$(BIN_DIST_INST_SUBDIR) - all: $(RM) -rf $(BIN_DIST_INST_SUBDIR) $(RM) -rf ghc* diff --git a/mk/config.mk.in b/mk/config.mk.in index d44d00d..5283f66 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -1311,3 +1311,18 @@ WAY_o_HC_OPTS= CONFIGURE_ARGS = @CONFIGURE_ARGS@ +################################################################################ +# +# Bindist testing directory +# +################################################################################ + +ifeq "$(Windows)" "YES" +BIN_DIST_INST_SUBDIR = "install dir" +else +# I very much doubt that paths with spaces will work on Unix +BIN_DIST_INST_SUBDIR = installed +endif + +BIN_DIST_INST_DIR = $(FPTOOLS_TOP_ABS)/bindisttest/$(BIN_DIST_INST_SUBDIR) + -- 1.7.10.4