1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-25 23:21:26 +03:00

Provide pkg-config script.

2000-09-30  Martin Baulig  <baulig@suse.de>

	* libxml-2.0.pc.in: Provide pkg-config script.

	* configure.in: Create the libxml-2.0.pc script from the
	libxml-2.0.pc.in templates.
	* Makefile.am (pkgconfig_DATA): Install the libxml-2.0.pc
	script in `$(libexecdir)/pkgconfig'.
This commit is contained in:
Martin Baulig 2000-09-29 23:17:57 +00:00 committed by Martin Baulig
parent c92c304a44
commit dd7d1f6d79
5 changed files with 30 additions and 2 deletions

View File

@ -27,3 +27,4 @@ libxml.spec
testHTML testHTML
testSAX testSAX
testXPath testXPath
libxml-2.0.pc

View File

@ -1,3 +1,12 @@
2000-09-30 Martin Baulig <baulig@suse.de>
* libxml-2.0.pc.in: Provide pkg-config script.
* configure.in: Create the libxml-2.0.pc script from the
libxml-2.0.pc.in templates.
* Makefile.am (pkgconfig_DATA): Install the libxml-2.0.pc
script in `$(libexecdir)/pkgconfig'.
Mon Sep 25 16:23:41 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org> Mon Sep 25 16:23:41 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* HTMLparser.c parser.c tree.c tree.h: Avoiding a few warning * HTMLparser.c parser.c tree.c tree.h: Avoiding a few warning

View File

@ -356,7 +356,10 @@ confexecdir=$(libdir)
confexec_DATA = xmlConf.sh confexec_DATA = xmlConf.sh
EXTRA_DIST = xmlConf.sh.in libxml.spec.in libxml.spec libxml.m4 \ EXTRA_DIST = xmlConf.sh.in libxml.spec.in libxml.spec libxml.m4 \
example/Makefile.am example/gjobread.c example/gjobs.xml \ example/Makefile.am example/gjobread.c example/gjobs.xml \
$(man_MANS) $(man_MANS) libxml-2.0.pc.in
pkgconfigdir = $(libexecdir)/pkgconfig
pkgconfig_DATA = libxml-2.0.pc
xmlConf.sh: xmlConf.sh.in Makefile xmlConf.sh: xmlConf.sh.in Makefile
## Use sed and then mv to avoid problems if the user interrupts. ## Use sed and then mv to avoid problems if the user interrupts.

View File

@ -299,5 +299,5 @@ else
(cd $srcdir ; rm -f libxml ; ln -s . libxml) (cd $srcdir ; rm -f libxml ; ln -s . libxml)
(rm -f libxml ; ln -s . libxml) (rm -f libxml ; ln -s . libxml)
fi fi
AC_OUTPUT(libxml.spec Makefile doc/Makefile example/Makefile xmlversion.h xml-config win32config.h) AC_OUTPUT(libxml.spec Makefile doc/Makefile example/Makefile xmlversion.h xml-config win32config.h libxml-2.0.pc)

15
libxml-2.0.pc.in Normal file
View File

@ -0,0 +1,15 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
VERSION="@VERSION@"
REQUIRES=""
CFLAGS="@XML_INCLUDEDIR@ @XML_CFLAGS@ $CFLAGS"
LIBS_PATH="-L${libdir} $LIBS_PATH"
LIBS_LINK_SELF="-lxml $LIBS_LINK_SELF"
LIBS_LINK_SYSTEM="@Z_LIBS@ @M_LIBS@ @LIBS@ $LIBS_LINK_SYSTEM"
#Name: libXML
#Description: libXML library.