diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-19 15:51:38 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-19 15:51:38 +0100 |
commit | f6de136dc4673d2977dbda10bba048a3012a004d (patch) | |
tree | d567027acd2b4c64eab93dd16986fed6996d538e /GNUmakefile | |
parent | 7f04df223a369d7d3bb92cf94d0ad64ad5fb6ac9 (diff) | |
download | prosody-f6de136dc4673d2977dbda10bba048a3012a004d.tar.gz prosody-f6de136dc4673d2977dbda10bba048a3012a004d.zip |
make: Magic trick for teal-src/*.tl -> ./*.lua
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index eaf7c9c8..f36870e9 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 $@ |