aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-09 13:59:45 +0100
committerKim Alvefur <zash@zash.se>2021-03-09 13:59:45 +0100
commit8cf1f8a901a81c51461019a5e6d63a8fa26f3da9 (patch)
tree14fd44861c728286aa96d3c07e310f51fcbd99f4
parentd7b1df42d377d62eccc20fa9efc4c477c45b769c (diff)
downloadprosody-8cf1f8a901a81c51461019a5e6d63a8fa26f3da9.tar.gz
prosody-8cf1f8a901a81c51461019a5e6d63a8fa26f3da9.zip
make: Add target for building Teal sources
Compiled Lua targets included in parallel in order to not add a hard dependency on Teal, at least not yet.
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1846d72d..eaf7c9c8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -105,6 +105,10 @@ lint:
@echo $$(sed -n '/^\tlocal exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored
shellcheck configure
+util/%.lua: teal-src/util/%.tl
+ tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@
+ -lua-format -i $@
+
util/%.so:
$(MAKE) install -C util-src