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'.
diff --git a/Makefile.am b/Makefile.am
index 9368c66..3f93f19 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -356,7 +356,10 @@
confexec_DATA = xmlConf.sh
EXTRA_DIST = xmlConf.sh.in libxml.spec.in libxml.spec libxml.m4 \
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
## Use sed and then mv to avoid problems if the user interrupts.