Re: CVS: commit hub abi GNUmakefile.am

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Mon Jan 08 2007 - 01:16:55 CET

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

Any opinion?

Hub

>
>
> Index: GNUmakefile.am
> ===================================================================
> RCS file: /cvsroot/abi/GNUmakefile.am,v
> retrieving revision 1.54
> retrieving revision 1.55
> diff -u -d -r1.54 -r1.55
> --- GNUmakefile.am 4 Jan 2007 17:23:52 -0000 1.54
> +++ GNUmakefile.am 8 Jan 2007 00:06:55 -0000 1.55
> @@ -28,8 +28,13 @@
> mimedir = $(datadir)/mime-info
> mime_DATA = abiword.keys
>
> +if WITH_LIBABIWORD
> pkgconfigdir = $(libdir)/pkgconfig
> pkgconfig_DATA = abiword-$(ABIWORD_SERIES).pc
> +else
> +pkgconfigdir =
> +pkgconfig_DATA =
> +endif
>
> abiword-$(ABIWORD_SERIES).pc: abiword.pc
> cp abiword.pc abiword-$(ABIWORD_SERIES).pc
>
> -----------------------------------------------
> To unsubscribe from this list, send a message to
> abisource-cvs-commit-request@abisource.com with the word
> unsubscribe in the message body.
Received on Mon Jan 8 01:17:03 2007

This archive was generated by hypermail 2.1.8 : Mon Jan 08 2007 - 01:17:04 CET