Files
website/Makefile
T

17 lines
452 B
Makefile

OC ?= ../oc
.PHONY: content build check serve
content: ## regenerate content/ and static/media/ from the extraction repo
python3 $(OC)/scripts/05_hugo.py --target $(CURDIR)
build: ## build the site into public/
rm -rf public
hugo --panicOnWarning --minify
check: build ## build, then verify every internal link and image
python3 tools/check_links.py public
serve: ## local preview on http://localhost:1313
hugo server