From 3d4ebd8338dfbc26b81829b035a85536ce9532a1 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Thu, 6 May 2010 09:02:00 +0000 Subject: [PATCH] Bug #616524: Fix missing re-generating of gnucash_core.c code. The .c file gets outdated easily because the makefile doesn't contain enough of its dependencies. I would need to be regenerated each time any of the included files was changed, but currently it doesn't contain these dependencies in the makefile rules. Having it depending on config.h should at least trigger the generation at each version number change (so that the tarball contains an up-to-date version.) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19124 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/optional/python-bindings/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optional/python-bindings/Makefile.am b/src/optional/python-bindings/Makefile.am index 14c19694d8..8196c68575 100644 --- a/src/optional/python-bindings/Makefile.am +++ b/src/optional/python-bindings/Makefile.am @@ -37,7 +37,7 @@ _gnucash_core_c_la_LIBADD = \ ${top_builddir}/src/business/business-core/libgncmod-business-core.la if BUILDING_FROM_SVN -gnucash_core.c: $(SWIG_SOURCES) +gnucash_core.c: $(SWIG_SOURCES) ${top_srcdir}/src/base-typemaps.i $(top_builddir)/config.h swig -python -Wall -Werror \ -I$(top_srcdir)/src -I$(top_srcdir)/src/engine \ -I$(top_srcdir)/src/business/business-core \