commit 5cf9953a9846d1a32d6de8b0e7e1d0917c2963c4 (patch) parent 51791b5c84db4e4adcda268880f905f5a385a423 Author: Alex Karle <alex@alexkarle.com> Date: Thu, 31 Dec 2020 00:09:34 -0500 make: Add comments about HIDE=, targets The original comment is from when I had this all in a man/ subdir... Diffstat:
M | Makefile | | | 10 | ++++++++-- |
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,5 +1,7 @@ -# sub-Makefile so that mandoc -Oman can find the Xr references -HIDE = @ +# alexkarle.com makefile +# targets: +# build [default] -- generates HTML in current dir +# clean -- deletes said HTML HTML := \ index.html \ intro.html \ @@ -11,6 +13,10 @@ HTML := \ on-writing.html \ my-old-man.html +# Running with HIDE="" shows the full build command instead +# of the abbreviated version (@ suppresses the command in make) +HIDE = @ + .PHONY: build build: $(HTML)