summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bindisttest/Makefile9
-rw-r--r--mk/config.mk.in15
2 files changed, 15 insertions, 9 deletions
diff --git a/bindisttest/Makefile b/bindisttest/Makefile
index 2b56a05f56..b2cb231741 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 d44d00d601..5283f66791 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)
+