ember (0.6.2+dfsg-2) 0004-domain-bindings-lua-makefile.patch

Summary

 src/domain/bindings/lua/Makefile.am |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

Description: Fixes build rules for generated Domain.cxx source file
Author: Stephen M. Webb <stephen.webb@bregmasoft.ca>
Bug: https://bugs.launchpad.net/ember/+bug/968242

--- a/src/domain/bindings/lua/Makefile.am
+++ b/src/domain/bindings/lua/Makefile.am
@@ -1,7 +1,3 @@
-SUFFIXES: .cxx .pkg .lo .la .cpp .o .obj
-
-.pkg.cxx:
-	cd $(srcdir) && TOLUAXX=${TOLUAXX} $(abs_top_srcdir)/scripts/update_lua_bindings.sh `basename $@ .cxx` `basename $@ .cxx`.pkg $(abs_builddir)/`basename $@` $<
 
 INCLUDES = -I$(top_srcdir)/src -I$(srcdir) -I$(top_builddir)/src -DPREFIX=\"@prefix@\"
 
@@ -12,5 +8,7 @@
 TOLUA_PKGS = EntityTalk.pkg
 EXTRA_DIST = $(TOLUA_PKGS)
 Domain.cxx: $(TOLUA_PKGS)
+	cd $(srcdir); \
+	TOLUAXX=${TOLUAXX} $(abs_top_srcdir)/scripts/update_lua_bindings.sh `basename $@ .cxx` $< $@
 
 bindings: clean all