Skip to content
Snippets Groups Projects
Commit 76030748 authored by Austin Seipp's avatar Austin Seipp Committed by Ben Gamari
Browse files

build: fix 'make help'


Summary:
This fixes the usage of `make help` in the top-level and subdirectories.

Signed-off-by: default avatarAustin Seipp <austin@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
parent 3648e9fa
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ default : all ...@@ -31,7 +31,7 @@ default : all
# For help, type 'make help' # For help, type 'make help'
.PHONY: help .PHONY: help
help: help:
@cat MAKEHELP @cat MAKEHELP.md
ifneq "$(filter maintainer-clean distclean clean help,$(MAKECMDGOALS))" "" ifneq "$(filter maintainer-clean distclean clean help,$(MAKECMDGOALS))" ""
-include mk/config.mk -include mk/config.mk
......
...@@ -59,4 +59,4 @@ help : sub-help ...@@ -59,4 +59,4 @@ help : sub-help
sub-help : sub-help :
@echo "You are in subdirectory \"$(dir)\"." @echo "You are in subdirectory \"$(dir)\"."
@echo "Useful targets in this directory:" @echo "Useful targets in this directory:"
@cat $(TOP)/SUBMAKEHELP @sed '1,/Using `make` in subdirectories/d' $(TOP)/MAKEHELP.md
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment