[commit: ghc] ghc-7.10: build: fix 'make help' (7603074)
git at git.haskell.org
git at git.haskell.org
Tue Jul 21 10:27:56 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.10
Link : http://ghc.haskell.org/trac/ghc/changeset/760307483d04aa91d8e4793c037ba149bdc03e36/ghc
>---------------------------------------------------------------
commit 760307483d04aa91d8e4793c037ba149bdc03e36
Author: Austin Seipp <austin at well-typed.com>
Date: Sat Mar 7 11:18:44 2015 -0600
build: fix 'make help'
Summary:
This fixes the usage of `make help` in the top-level and subdirectories.
Signed-off-by: Austin Seipp <austin at well-typed.com>
Test Plan: It worked now and didn't before.
Reviewers: hvr
Reviewed By: hvr
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D692
>---------------------------------------------------------------
760307483d04aa91d8e4793c037ba149bdc03e36
Makefile | 2 +-
mk/sub-makefile.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 2cc62b5..de9bcf3 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ default : all
# For help, type 'make help'
.PHONY: help
help:
- @cat MAKEHELP
+ @cat MAKEHELP.md
ifneq "$(filter maintainer-clean distclean clean help,$(MAKECMDGOALS))" ""
-include mk/config.mk
diff --git a/mk/sub-makefile.mk b/mk/sub-makefile.mk
index fdaf830..0ed85c8 100644
--- a/mk/sub-makefile.mk
+++ b/mk/sub-makefile.mk
@@ -59,4 +59,4 @@ help : sub-help
sub-help :
@echo "You are in subdirectory \"$(dir)\"."
@echo "Useful targets in this directory:"
- @cat $(TOP)/SUBMAKEHELP
+ @sed '1,/Using `make` in subdirectories/d' $(TOP)/MAKEHELP.md
More information about the ghc-commits
mailing list