<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40300 >

Jason Dorje Short wrote:

> It seems to me that this is a missing 
> dependency for api_gen.c however; it should depend on the toluaxx 
> program itself so if that program changes it gets regenerated.

Like this.

-jason

Index: server/scripting/Makefile.am
===================================================================
--- server/scripting/Makefile.am	(revision 14826)
+++ server/scripting/Makefile.am	(working copy)
@@ -34,5 +34,5 @@
 
 BUILT_SOURCES = api_gen.c api_gen.h
 
-api_gen.c api_gen.h: api.pkg
+api_gen.c api_gen.h: api.pkg $(TOLUA)
 	$(TOLUA) -n api -o $(srcdir)/api_gen.c -H $(srcdir)/api_gen.h $(srcdir)/api.pkg
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to