Differences From
Artifact [35641b8f47]:
1 1 lua != which lua
2 2 luac != which luac
3 3
4 -cortav: cortav.lua
4 +extens ?= $(patsubst ext/%.lua,%,$(wildcard ext/*.lua))
5 +extens_srcs = $(patsubst %,ext/%.lua,$(extens))
6 +
7 +cortav: sirsem.lua cortav.lua $(extens_srcs) cli.lua
5 8 echo '#!$(lua)' > $@
6 - luac -s -o - $< >> $@
9 + luac -o - $^ >> $@
7 10 chmod +x $@
11 +
12 +cortav.html: cortav.ct cortav
13 + ./cortav $< -o $@ -m render:format html -y html:fossil-uv
14 +
15 +.PHONY: syncdoc
16 +syncdoc: cortav.html
17 + fossil uv add $<
18 + fossil uv sync