Unable to make dist after recent changes

2011-11-26 Thread Robert Fewell
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
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Unable to make dist after recent changes

2011-11-26 Thread John Ralls

On Nov 26, 2011, at 6:13 AM, Robert Fewell wrote:

 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'.
 

Thanks. That will be my fault, so I'll have a look at it a little later this 
morning.

Regards,
John Ralls


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


src/docs/design and make distcheck

2011-11-26 Thread John Ralls
The Makefile in src/docs/design requires texi2dvi, which in turn depends on 
TeX. Make distcheck insists on actually building src/docs/design.

Does that even make sense? Setting aside the fact that those design documents 
are horribly out of date (the last substantive change was 7 years ago), it's 
arguable that we should just delete the whole thing (Christian added a warning 
about their being obsolete 4 years ago). But it seems really dumb to have an 
enormous dependency (MacTeX is a 1.8 GB download) to make a PDF of a wrong 
document.

Regards,
John Ralls
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


src/import-export/qif-io-core

2011-11-26 Thread John Ralls
Do we need this directory? It was added back in 2001 as a new importer, but 
seems never to have been finished. It has never been included in the build, but 
was included in dist (why it should be in the tarball if it's not built is a 
mystery from the mists of time...). AFAICT it has never actually been worked on 
but has absorbed about 80 maintenance changes over the years, all a waste of 
time.

This came up because Robert Fewell noticed that I'd broken make distcheck... 
which I did because I didn't notice that one of them (qif-io-core) is 
distributed but not built or installed.

Regards,
John Ralls


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel