Software /
code /
prosody
Changeset
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 |
parents | 11462:d1982b7eb00d |
children | 11464:6e25409fecbd |
files | GNUmakefile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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 $@