From: RĂ©mi Denis-Courmont Date: Thu, 25 Feb 2010 16:45:20 +0000 (+0200) Subject: Check that .lua files are declared (faster than make distcheck) X-Git-Tag: 1.1.0-pre1~680 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0bae97c50a46dac48d2225ec2a9e36dc8278e8d9;p=vlc Check that .lua files are declared (faster than make distcheck) --- diff --git a/share/Makefile.am b/share/Makefile.am index 66c060aafc..a288ea112d 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -189,6 +189,14 @@ luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY)) luac_verbose_0 = @echo " LUAC $@"; .lua.luac: + $(AM_V_at)for f in $(EXTRA_DIST); do \ + test "$(srcdir)" = . || f="$(srcdir)/$$f"; \ + if test $$f = $<; then \ + exit 0; \ + fi; \ + done; \ + echo "Attempt to byte-compile unknown file: $(<)!"; \ + exit 1 $(AM_V_at)mkdir -p "$$(dirname '$@')" $(luac_verbose)$(LUAC) -o $@ $<