From: Marek VavruĊĦa Date: Sun, 26 Nov 2017 01:03:48 +0000 (-0800) Subject: build: make lint depends on autogenerated Lua files X-Git-Tag: v1.5.1~12^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90b73630dd9ac7410e8ed5889b200e278ef9b7d4;p=thirdparty%2Fknot-resolver.git build: make lint depends on autogenerated Lua files Lint should always render the .lua from .lua.in files before checking. --- diff --git a/Makefile b/Makefile index 86064e0b0..3af15b389 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ check: all tests clean: contrib-clean lib-clean daemon-clean client-clean modules-clean \ tests-clean doc-clean bench-clean doc: doc-html -lint: +lint: $(patsubst %.lua.in,%.lua,$(wildcard */*/*.lua.in)) luacheck --codes --formatter TAP . coverage: $(wildcard */*/luacov.stats.out) @echo "# C coverage in gcov.c.info"