From 0665f87a37e0f94edbf3f3ae880c69e696ba2a1c Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Sun, 4 Jun 2023 15:50:07 -0500 Subject: [PATCH] More docs on using help.mk --- make_files/help.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/make_files/help.mk b/make_files/help.mk index 98ff3a2..bc89451 100644 --- a/make_files/help.mk +++ b/make_files/help.mk @@ -17,9 +17,10 @@ # Use this by putting the following line into your Makefile: # include help.mk # -# Then, any lines in the makefiles that begin with "## " are displayed -# as help text. This allows user-documentation to be placed next to -# relevant makefile targets and rules. +# Then, any lines in the makefiles that begin with "## ", or lines +# that contain only "##", are displayed as help text. This allows +# user-documentation to be placed next to relevant makefile targets +# and rules. help: @grep -Eh '^##($$| )' $(MAKEFILE_LIST) | sed -E 's/^##($$| )//' -- 2.34.1