cortav  Artifact [5a68812ac4]

Artifact 5a68812ac429628a6364a159bbf1ab330ee4a44dc5a7e733575eddfeb64a646e:


lua != which lua
luac != which luac

extens = $(wildcard ext/*.lua)
extens_names ?= $(basename $(notdir $(extens)))

cortav: sirsem.lua cortav.lua $(extens) cli.lua
	@echo ' ยป building with extensions $(extens_names)'
	echo '#!$(lua)' > $@
	luac -o - $^ >> $@
	chmod +x $@

cortav.html: cortav.ct cortav
	./cortav $< -o $@ -m render:format html -y html:fossil-uv

.PHONY: syncdoc
syncdoc: cortav.html
	fossil uv add $<
	fossil uv sync