Software /
code /
prosody
Diff
GNUmakefile @ 11463:21523e3d395e
make: Magic trick for teal-src/*.tl -> ./*.lua
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 19 Mar 2021 15:51:38 +0100 |
parent | 11433:bef67691a713 |
child | 12130:c4ca226ff386 |
line wrap: on
line diff
--- a/GNUmakefile Fri Mar 19 01:17:59 2021 +0100 +++ b/GNUmakefile Fri Mar 19 15:51:38 2021 +0100 @@ -105,7 +105,8 @@ @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 $@