From a3c300b508f36d7a9ed02b1b71b6f8239c15afb5 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 14 Jun 2023 23:31:53 -1000 Subject: [PATCH] ;dev: make/shake/bake help titles --- Makefile | 2 +- Shake.hs | 2 +- bake | 3 ++- tools/README | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3e3ccdb9b..f5779d406 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ # Some calls and dummy targets to augment the default help output. # Also, help-SUBSTR and SUBSTR-help targets to show only matching help. -$(call def-help-heading,Main rules in the hledger project Makefile:) +$(call def-help-heading,make: light project scripting (old). See also: ./bake; ./Shake.hs) $(call def-help-subheading,HELP:) dummy1: $(call def-help,[help], list documented rules in this makefile ) help-%: $(call def-help,help-SECTION, list documented rules containing some string ) diff --git a/Shake.hs b/Shake.hs index 9f9bb2a23..f4190a8df 100755 --- a/Shake.hs +++ b/Shake.hs @@ -66,7 +66,7 @@ usage = let scriptname = "Shake" in replaceRe [re|/Shake|] ('/':scriptname) $ unlines ---------------------------------------79-------------------------------------- - ["hledger developer scripts. See also: make help" + ["Shake: heavy project scripting. See also: make, ./bake" ,"Usage:" ,"./Shake.hs [CMD [ARGS]] run CMD, compiling this script first if needed" ,"./Shake [CMD [ARGS]] run CMD, using the compiled version of this script" diff --git a/bake b/bake index 6ce8e2c67..e77d29bbf 100755 --- a/bake +++ b/bake @@ -7,7 +7,8 @@ set -e ################################################################################ usage() { cat <