Commit d53431bb authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Better error messages

parent 2117cc22
...@@ -74,15 +74,15 @@ HP2PS_ABS := $(dir $(TEST_HC))/hp2ps ...@@ -74,15 +74,15 @@ HP2PS_ABS := $(dir $(TEST_HC))/hp2ps
endif endif
ifeq "$(wildcard $(TEST_HC))" "" ifeq "$(wildcard $(TEST_HC))" ""
$(error Cannot find ghc) $(error Cannot find ghc: $(TEST_HC))
endif endif
ifeq "$(wildcard $(GHC_PKG))" "" ifeq "$(wildcard $(GHC_PKG))" ""
$(error Cannot find ghc-pkg) $(error Cannot find ghc-pkg: $(GHC_PKG))
endif endif
ifeq "$(wildcard $(HP2PS_ABS))" "" ifeq "$(wildcard $(HP2PS_ABS))" ""
$(error Cannot find hp2ps) $(error Cannot find hp2ps: $(HP2PS_ABS))
endif endif
$(eval $(call get-ghc-field,GhcRTSWays,RTS ways)) $(eval $(call get-ghc-field,GhcRTSWays,RTS ways))
......
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