summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-05-14 10:56:45 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-05-14 10:56:45 +0000
commitcd12c32de77ac18a69ed1733a558095567ec5ba8 (patch)
treed67caa869c9f03da14992868f072a6b8eb40763d /Makefile
parente4b74d50df90bfdd78e279e4d29232648ca22180 (diff)
downloadhaskell-cd12c32de77ac18a69ed1733a558095567ec5ba8.tar.gz
make repeated 'make distclean' not fail
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4303b639d..e5b21150c2 100644
--- a/Makefile
+++ b/Makefile
@@ -32,11 +32,14 @@ else
default : all
@:
+ifneq "$(findstring clean,$(MAKECMDGOALS))" ""
+-include mk/config.mk
+else
include mk/config.mk
-
ifeq "$(ProjectVersion)" ""
$(error Please run ./configure first)
endif
+endif
include mk/custom-settings.mk