all: asset-sync doc-sync

starlit.html: starlit.ct
	cortav -y html:fossil-uv "$<" -o "$@"

.PHONY: doc-sync
doc-sync: starlit.html
	fossil uv add "$<"
	fossil uv sync

asset.cpxz: asset.list $(cat asset.list)
	cpio -o <"$<" | xz >"$@"

.PHONY: asset-sync
asset-sync: asset.cpxz
	fossil uv add "$<"
	fossil uv sync