Commit 90dc2234 authored by Simon Marlow's avatar Simon Marlow
Browse files

fix (non-fast) validate

parent 6e5aa9e4
......@@ -138,10 +138,12 @@ PYTHON = python
$(TOP_ABS)/mk/ghc-config : $(TOP_ABS)/mk/ghc-config.hs
"$(TEST_HC)" --make -o $@ $<
ghc-config-mk = $(TOP_ABS)/mk/ghcconfig$(subst /,_,$(subst \,_,$(TEST_HC))).mk
empty=
space=$(empty) $(empty)
ghc-config-mk = $(TOP_ABS)/mk/ghcconfig$(subst $(space),_,$(subst /,_,$(subst \,_,$(TEST_HC)))).mk
$(ghc-config-mk) : $(TOP_ABS)/mk/ghc-config
$(TOP_ABS)/mk/ghc-config $(TEST_HC) >$@
$(TOP_ABS)/mk/ghc-config "$(TEST_HC)" >"$@" || $(RM) "$@"
include $(ghc-config-mk)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment