;shake: update -> docs

This commit is contained in:
Simon Michael 2020-12-15 12:38:57 -08:00
parent 6e2d4ce425
commit d028b1f062

View File

@ -76,7 +76,7 @@ usage =
-- ,"./Shake webmanuals update just the web manuals" -- ,"./Shake webmanuals update just the web manuals"
,"./Shake changelogs [-c] [-n/--dry-run]" ,"./Shake changelogs [-c] [-n/--dry-run]"
," update CHANGES.md files, adding new commits & headings" ," update CHANGES.md files, adding new commits & headings"
,"./Shake update [-c] update all the above, eg after setversion" ,"./Shake docs [-c] update all program docs (CLI help, manuals, changelogs)"
,"./Shake build [PKGS] build hledger packages and their embedded docs" ,"./Shake build [PKGS] build hledger packages and their embedded docs"
,"./Shake clean remove generated texts, manuals" ,"./Shake clean remove generated texts, manuals"
,"./Shake Clean also remove object files, Shake's cache" ,"./Shake Clean also remove object files, Shake's cache"
@ -657,17 +657,15 @@ main = do
) )
-- MISC -- Update all program-specific docs, eg after setversion.
phony "docs" $ need [
-- update "cmdhelp"
-- Update all that needs updating.
phony "update" $ need [
"cabalfiles"
,"cmdhelp"
,"manuals" ,"manuals"
,"changelogs" ,"changelogs"
] ]
-- MISC
-- Generate the web manuals based on the current checkout and save -- Generate the web manuals based on the current checkout and save
-- them as the specified versioned snapshot in site/doc/VER/ . -- them as the specified versioned snapshot in site/doc/VER/ .
-- .snapshot is a dummy file. -- .snapshot is a dummy file.