Commit e642de62 authored by Austin Seipp's avatar Austin Seipp

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 0fcc4543
......@@ -32,7 +32,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
......
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment