Re: CVS: commit hub abi GNUmakefile.am

From: Robert Staudinger <robert.staudinger_at_gmail.com>
Date: Mon Jan 08 2007 - 06:59:02 CET

On 1/8/07, Hubert Figuiere <hfiguiere@teaser.fr> wrote:
>
> cvs@abisource.com wrote:
> > Update of /cvsroot/abi
> > In directory abiword.snt.utwente.nl:/tmp/cvs-serv32064
> >
> > Modified Files:
> > GNUmakefile.am
> > Log Message:
> > bug 10713: don't install pkg-config file if libabiword is NOT built
>
> I have to comment a bit on this one because it might need further cleaning.
>
> The problem was that abiword-2.5.pc is installed whatever happens. But
> the .pc file is useful only if we build libabiword.

The .pc file is also used by abidistfiles and abiword-docs to
determine installation path (yes, it would be better if there was a
way to override that). Also in non-libabiword configuration the
library stuff should not be in the pc file, of course.

> Now here is the thing. The headers still gets installed. I'm not sure it
> makes sense to have them without libabiword but if it does then the .pc
> file should be modified and this fix "reverted". Otherwise we shouldn't
> install the headers, and the fix is likely to be more extensive.

Header installation was required for early versions of pyabiword. The
situation has improved in the meantime and I hope we can get away
installing only libabiword.h and abiwidget.h.

Another reason for installing the headers was to enable plugin
development without an abiword source tree, but in the meantime I
doubt that's very useful.

Will fix.

- Rob
Received on Mon Jan 8 06:59:32 2007

This archive was generated by hypermail 2.1.8 : Mon Jan 08 2007 - 06:59:32 CET