;shake: commandhelp -> commandtxts, don't build this for "manuals"
This commit is contained in:
parent
5344913d04
commit
a1321b7f26
5
Shake.hs
5
Shake.hs
@ -67,7 +67,7 @@ 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"
|
||||||
,"./Shake [help] show this help"
|
,"./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 manuals build txt/man/info/web manuals for all packages"
|
||||||
,"./Shake webmanuals build web manuals (in site/) for all packages"
|
,"./Shake webmanuals build web manuals (in site/) for all packages"
|
||||||
-- TODO: commit, show commit
|
-- TODO: commit, show commit
|
||||||
@ -222,7 +222,6 @@ main = do
|
|||||||
|
|
||||||
-- Generate the manuals in plain text, nroff, info, and markdown formats.
|
-- Generate the manuals in plain text, nroff, info, and markdown formats.
|
||||||
phony "manuals" $ need $
|
phony "manuals" $ need $
|
||||||
"commandhelp" :
|
|
||||||
concat [
|
concat [
|
||||||
nroffmanuals
|
nroffmanuals
|
||||||
,infomanuals
|
,infomanuals
|
||||||
@ -359,7 +358,7 @@ main = do
|
|||||||
cmd Shell "stack build " pkg
|
cmd Shell "stack build " pkg
|
||||||
| pkg <- packages ]
|
| pkg <- packages ]
|
||||||
|
|
||||||
phony "commandhelp" $ need commandtxts
|
phony "commandtxts" $ need commandtxts
|
||||||
|
|
||||||
commandtxts |%> \out -> do
|
commandtxts |%> \out -> do
|
||||||
let src = out -<.> "md"
|
let src = out -<.> "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).
|
optional. If you don't do it, it will get done later (before release).
|
||||||
It can be done by:
|
It can be done by:
|
||||||
|
|
||||||
./Shake commandhelp
|
./Shake commandtxts
|
||||||
|
|
||||||
Or, by you can regenerate them while also building packages:
|
Or, by you can regenerate them while also building packages:
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user