From d028b1f062c8daa0fba18d3db04512844d2c645f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 15 Dec 2020 12:38:57 -0800 Subject: [PATCH] ;shake: update -> docs --- Shake.hs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Shake.hs b/Shake.hs index 4f4f36061..444ce3c4c 100755 --- a/Shake.hs +++ b/Shake.hs @@ -76,7 +76,7 @@ usage = -- ,"./Shake webmanuals update just the web manuals" ,"./Shake changelogs [-c] [-n/--dry-run]" ," 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 clean remove generated texts, manuals" ,"./Shake Clean also remove object files, Shake's cache" @@ -657,17 +657,15 @@ main = do ) - -- MISC - - -- update - -- Update all that needs updating. - phony "update" $ need [ - "cabalfiles" - ,"cmdhelp" + -- Update all program-specific docs, eg after setversion. + phony "docs" $ need [ + "cmdhelp" ,"manuals" ,"changelogs" ] + -- MISC + -- Generate the web manuals based on the current checkout and save -- them as the specified versioned snapshot in site/doc/VER/ . -- .snapshot is a dummy file.