Add make target to rebuild HTML files when markdown changes

Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
David Runge 2023-11-29 13:38:31 +01:00
parent 588bd02553
commit 91fea4f45d
No known key found for this signature in database
GPG key ID: 90D4B9641E092971

View file

@ -32,6 +32,10 @@ help:
html-linkcheck: clean html
@$(LYCHEE) "$(BUILDDIR)/html/"*.html
# use watchexec to rebuild the HTML whenever a markdown file changes
html-watch:
@$(WATCHEXEC) --shell bash -e css,md 'make clean html'
# spell check all sources
# NOTE: diagrams are not yet spell checked, but we emit the required changes
codespell: