[vlc-devel] commit: Check that .lua files are declared (faster than make distcheck) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Feb 25 17:48:30 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb 25 18:45:20 2010 +0200| [0bae97c50a46dac48d2225ec2a9e36dc8278e8d9] | committer: Rémi Denis-Courmont
Check that .lua files are declared (faster than make distcheck)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0bae97c50a46dac48d2225ec2a9e36dc8278e8d9
---
share/Makefile.am | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/share/Makefile.am b/share/Makefile.am
index 66c060a..a288ea1 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 $@ $<
More information about the vlc-devel
mailing list