summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-04-27 19:15:16 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-04-27 19:15:16 +0200
commitfa5ac96970f99fe463d78ab424514ce28741804a (patch)
treea185ba5d93c536222fca2fe9194d0b8369a2aa29 /Makefile
parentf17dcf09a5797bbefe22aef7d4c508d1672484df (diff)
downloadhaskell-fa5ac96970f99fe463d78ab424514ce28741804a.tar.gz
Don't require mk/config.mk for all cleanup targets
`make clean` did already ignore a missing mk/config.mk, but `make distclean` and `make maintainer-clean` didn't. This commit rectifies this oversight. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e5a7fb8d53..c4cce6d405 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ default : all
help:
@cat MAKEHELP
-ifneq "$(filter clean help,$(MAKECMDGOALS))" ""
+ifneq "$(filter maintainer-clean distclean clean help,$(MAKECMDGOALS))" ""
-include mk/config.mk
else
include mk/config.mk