Comparison

GNUmakefile @ 11433:bef67691a713

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.
author Kim Alvefur <zash@zash.se>
date Tue, 09 Mar 2021 13:59:45 +0100
parent 11121:2d38242a08dd
child 11463:21523e3d395e
comparison
equal deleted inserted replaced
11432:113f3912c7cb 11433:bef67691a713
103 lint: 103 lint:
104 $(LUACHECK) -q $$(HGPLAIN= hg files -I '**.lua') prosody prosodyctl 104 $(LUACHECK) -q $$(HGPLAIN= hg files -I '**.lua') prosody prosodyctl
105 @echo $$(sed -n '/^\tlocal exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored 105 @echo $$(sed -n '/^\tlocal exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored
106 shellcheck configure 106 shellcheck configure
107 107
108 util/%.lua: teal-src/util/%.tl
109 tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@
110 -lua-format -i $@
111
108 util/%.so: 112 util/%.so:
109 $(MAKE) install -C util-src 113 $(MAKE) install -C util-src
110 114
111 %.install: % 115 %.install: %
112 sed "1s| lua$$| $(RUNWITH)|; \ 116 sed "1s| lua$$| $(RUNWITH)|; \