Unable to make dist after recent changes

Robert Fewell 14ubobit at gmail.com
Sat Nov 26 09:13:52 EST 2011


Hi,

Not sure if this is just me but I am unable to make dist the way I used to.

I have checked out a completely new repository, done an svn copy, autogen
and configure and then do make dist.

This fails with "No rule to make target swig-core-utils-python.c needed by
'distdir' ".

If I change the core-utils makefile.am from this :-

if BUILDING_FROM_SVN
swig-core-utils-guile.c: core-utils.i ${top_srcdir}/src/base-typemaps.i
    $(SWIG) -guile $(SWIG_ARGS) -Linkage module \
    -I${top_srcdir}/src -o $@ $<
if WITH_PYTHON
swig-core-utils-python.c: core-utils.i ${top_srcdir}/src/base-typemaps.i
    $(SWIG) -python -Wall -Werror $(SWIG_ARGS) \
    -I${top_srcdir}/src -o $@ $<
endif
endif

to this :-

if BUILDING_FROM_SVN
swig-core-utils-guile.c: core-utils.i ${top_srcdir}/src/base-typemaps.i
    $(SWIG) -guile $(SWIG_ARGS) -Linkage module \
    -I${top_srcdir}/src -o $@ $<

swig-core-utils-python.c: core-utils.i ${top_srcdir}/src/base-typemaps.i
    $(SWIG) -python -Wall -Werror $(SWIG_ARGS) \
    -I${top_srcdir}/src -o $@ $<
endif

it works which is the same format as the app-utils makefile.am


Also, r21570 changed the makefile.am file which removed the 'qif-io-core'
directory from the build but it is still in the configure.ac file and
so you are unable to build gnucash, if you remove the entries on line
1288,1289 it builds. What I am not sure is if whether the directory should
be included
or not, if it is, it fails to build mentioning 'qif-account-table.scm'.


Robert


More information about the gnucash-devel mailing list