From a1321b7f2625513ef90b71fa6a93f29301a0b8cf Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 7 Sep 2020 06:17:43 -0700 Subject: [PATCH] ;shake: commandhelp -> commandtxts, don't build this for "manuals" --- Shake.hs | 5 ++--- hledger/Hledger/Cli/Commands/README.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Shake.hs b/Shake.hs index 7d606dc1e..bb7927ba6 100755 --- a/Shake.hs +++ b/Shake.hs @@ -67,7 +67,7 @@ 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" ,"./Shake [help] show this help" - ,"./Shake commandhelp build plain text help for hledger CLI commands" + ,"./Shake commandtxts build plain text docs for hledger CLI command help" ,"./Shake manuals build txt/man/info/web manuals for all packages" ,"./Shake webmanuals build web manuals (in site/) for all packages" -- TODO: commit, show commit @@ -222,7 +222,6 @@ main = do -- Generate the manuals in plain text, nroff, info, and markdown formats. phony "manuals" $ need $ - "commandhelp" : concat [ nroffmanuals ,infomanuals @@ -359,7 +358,7 @@ main = do cmd Shell "stack build " pkg | pkg <- packages ] - phony "commandhelp" $ need commandtxts + phony "commandtxts" $ need commandtxts commandtxts |%> \out -> do let src = out -<.> "md" diff --git a/hledger/Hledger/Cli/Commands/README.md b/hledger/Hledger/Cli/Commands/README.md index 3989530a9..81477728e 100644 --- a/hledger/Hledger/Cli/Commands/README.md +++ b/hledger/Hledger/Cli/Commands/README.md @@ -11,7 +11,7 @@ After changing md files, regenerating and committing the txt files is optional. If you don't do it, it will get done later (before release). It can be done by: - ./Shake commandhelp + ./Shake commandtxts Or, by you can regenerate them while also building packages: