make: Magic trick for teal-src/*.tl -> ./*.lua

This commit is contained in:
Kim Alvefur 2021-03-19 15:51:38 +01:00
parent 7f04df223a
commit f6de136dc4

View file

@ -105,7 +105,8 @@ lint:
@echo $$(sed -n '/^\tlocal exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored
shellcheck configure
util/%.lua: teal-src/util/%.tl
vpath %.tl teal-src/
%.lua: %.tl
tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@
-lua-format -i $@