automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kdevelop + automake problems


From: Bryan Bennetts
Subject: Re: Kdevelop + automake problems
Date: Wed, 24 Sep 2008 12:01:14 +0100
User-agent: KMail/1.9.10

On Wednesday 24 September 2008 06:54:50 Ralf Wildenhues wrote:
> * Bryan Bennetts wrote on Tue, Sep 23, 2008 at 05:01:21PM CEST:
> > > > If I do include the aclocal.m4, the configure *still* kicks off
> > > > automake because of a subdirs file that is created by configure being
> > > > newer than the configure.in, which the Makefile.in is dependant on.
> > >
> > > What exactly do you mean by a subdirs file?
> >
> > Hmm, seems it *might* be a KDE-ism.  From the Makefile.am :
> >
> > <snip>
> > $(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
> >     cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
> >
> > $(top_srcdir)/subdirs:
> >     cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
> >
> > $(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in
> > $(top_srcdir)/admin/libtool.m4.in
> >     @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in >
> > acinclude.m4
> > </snip>
>
> If that subdirs file really is updated by configure, then it's time to
> file a bug report against whoever wrote those lines.  Input files to 
> configure should not be modified by configure.  

Hmm, running configure without subdirs existing does create it - but I haven't 
managed to work out *where* it does this, yet.  It makes me think that both 
the aclocal.m4 and subdirs should be included in the distribution by KDevelop 
as default.

> Further, as already 
> stated, all files necessary to rebuild configure (in this case at least:
> the subdirs file, configure.in.in, admin/Makefile.common (why does
> configure.in not depend on it BTW?), admin/*.m4 (same question)).

Not a clue, this is all new to me.

>
> > Is a fairly impenetrable make target which uses cvs.sh to create a
> > file 'subdirs' which lists the (you gonna love this) sub-directories in
> > the project - dunno why.
>
> Probably to avoid having to write
>   AC_CONFIG_FILES([subdir/Makefile])
>
> for each subdir.
>
> > I've attached the tarball of the project so you can peruse at you leisure
> > - it'll be quicker than me quoting bits and pieces randomly.
>
> That attachment got lost on the way, so if there are further important
> bits, it may help to put the package online somewhere and post a link
> (use a pastebin if you don't have web space).

I've put the tarballs here :

http://www.bbennetts.pwp.blueyonder.co.uk/

The first is the make dist version that works and the second the evil KDevelop  
version, there's also links to the missing aclocal.m4 and subdirs files.  
I've posted on the KDevelop forums but there's been little interest, I'm 
thinking I'll just use make dist from now on, and be damned.

Thanks for you help,

Bryan.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]