cortav  Diff

Differences From Artifact [5cfd42ea5f]:

To Artifact [5a68812ac4]:


     1      1   lua != which lua
     2      2   luac != which luac
     3      3   
     4         -extens ?= $(patsubst ext/%.lua,%,$(wildcard ext/*.lua))
     5         -extens_srcs = $(patsubst %,ext/%.lua,$(extens))
            4  +extens = $(wildcard ext/*.lua)
            5  +extens_names ?= $(basename $(notdir $(extens)))
     6      6   
     7         -cortav: sirsem.lua cortav.lua $(extens_srcs) cli.lua
            7  +cortav: sirsem.lua cortav.lua $(extens) cli.lua
            8  +	@echo ' ยป building with extensions $(extens_names)'
     8      9   	echo '#!$(lua)' > $@
     9     10   	luac -o - $^ >> $@
    10     11   	chmod +x $@
    11     12   
    12     13   cortav.html: cortav.ct cortav
    13     14   	./cortav $< -o $@ -m render:format html -y html:fossil-uv
    14     15   
    15     16   .PHONY: syncdoc
    16     17   syncdoc: cortav.html
    17     18   	fossil uv add $<
    18     19   	fossil uv sync