cortav  Diff

Differences From Artifact [35641b8f47]:

To Artifact [5cfd42ea5f]:


1
2
3
4



5
6
7








lua != which lua
luac != which luac

cortav: cortav.lua



	echo '#!$(lua)' > $@
	luac -s -o - $< >> $@
	chmod +x $@











|
>
>
>

|

>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
lua != which lua
luac != which luac

extens ?= $(patsubst ext/%.lua,%,$(wildcard ext/*.lua))
extens_srcs = $(patsubst %,ext/%.lua,$(extens))

cortav: sirsem.lua cortav.lua $(extens_srcs) cli.lua
	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