From b4f7860f2b99a4d24fba04e9d9827448036ef30b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 13 Jul 2015 11:48:48 -0700 Subject: [PATCH] tools: enable site, site-clean make rules --- Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index bcebc1959..6d4fe4bb4 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ # - shelltestrunner (latest version from hackage or possibly git), runs functional tests # - hasktags, generates tag files for code navigation # - profiteur, renders profiles as interactive html +# - hakyll-std, my generic site-building hakyll script # # Kinds of hledger builds: # @@ -816,19 +817,14 @@ $(call def-help-subsection,DOCUMENTATION:) # \ # ) -# site-build site: \ -# $(call def-help,site-build site,\ -# build some additional static bits of the hledger.org website\ -# Requires hakyll-std, a generic hakyll site builder\ -# ) #olddocs -# -cd doc/site; hakyll build +site: \ + $(call def-help,site, generate the hledger.org website with hakyll-std (a generic hakyll script) ) #olddocs + -cd doc/site; hakyll build -# site-clean: \ -# $(call def-help,site-clean,\ -# \ -# ) #cleanolddocs -# -cd doc/site; hakyll clean -# # rm -rf doc/site/_site/* +site-clean: \ + $(call def-help,site-clean, remove hakyll-generated files (& take down the website) ) #cleanolddocs + -cd doc/site; hakyll clean +# rm -rf doc/site/_site/* # XXX hakyll preview/watch mostly don't live-update any more site-preview: \