;dev: make/shake/bake help titles

This commit is contained in:
Simon Michael 2023-06-14 23:31:53 -10:00
parent 480872ce22
commit a3c300b508
4 changed files with 5 additions and 3 deletions

View File

@ -43,7 +43,7 @@
# Some calls and dummy targets to augment the default help output. # Some calls and dummy targets to augment the default help output.
# Also, help-SUBSTR and SUBSTR-help targets to show only matching help. # 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:) $(call def-help-subheading,HELP:)
dummy1: $(call def-help,[help], list documented rules in this makefile ) dummy1: $(call def-help,[help], list documented rules in this makefile )
help-%: $(call def-help,help-SECTION, list documented rules containing some string ) help-%: $(call def-help,help-SECTION, list documented rules containing some string )

View File

@ -66,7 +66,7 @@ usage =
let scriptname = "Shake" in replaceRe [re|/Shake|] ('/':scriptname) $ let scriptname = "Shake" in replaceRe [re|/Shake|] ('/':scriptname) $
unlines unlines
---------------------------------------79-------------------------------------- ---------------------------------------79--------------------------------------
["hledger developer scripts. See also: make help" ["Shake: heavy project scripting. See also: make, ./bake"
,"Usage:" ,"Usage:"
,"./Shake.hs [CMD [ARGS]] run CMD, compiling this script first if needed" ,"./Shake.hs [CMD [ARGS]] run CMD, compiling this script first if needed"
,"./Shake [CMD [ARGS]] run CMD, using the compiled version of this script" ,"./Shake [CMD [ARGS]] run CMD, using the compiled version of this script"

3
bake
View File

@ -7,7 +7,8 @@ set -e
################################################################################ ################################################################################
usage() { usage() {
cat <<EOF cat <<EOF
bake - misc project bash scripts, mainly releasing related. Cf Shake.hs, make bake - light-medium project scripting (new). See also: make, ./Shake.hs
Commands: Commands:
./bake - show this help ./bake - show this help
./bake relfiles - symlink important files temporarily in .relfiles/ ./bake relfiles - symlink important files temporarily in .relfiles/

View File

@ -1 +1,2 @@
Tools and scripts used during development. Tools and scripts used during development.
See also Makefile, bake, Shake.hs in the parent directory.