[commit: ghc] master: Don't require mk/config.mk for all cleanup targets (fa5ac96)

git at git.haskell.org git at git.haskell.org
Sun Apr 27 17:21:07 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/fa5ac96970f99fe463d78ab424514ce28741804a/ghc

>---------------------------------------------------------------

commit fa5ac96970f99fe463d78ab424514ce28741804a
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Apr 27 19:15:16 2014 +0200

    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 at gnu.org>


>---------------------------------------------------------------

fa5ac96970f99fe463d78ab424514ce28741804a
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e5a7fb8..c4cce6d 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



More information about the ghc-commits mailing list