Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
17 lines
452 B
Makefile
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
|