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
pull/1/head
Christian Stimming 16 years ago
parent 449df116d8
commit 3d4ebd8338

@ -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 \

Loading…
Cancel
Save