]> andersk Git - libyaml.git/commitdiff
Added support for pkg-config.
authorKirill Simonov <xi@resolvent.net>
Sun, 29 May 2011 05:29:39 +0000 (05:29 +0000)
committerKirill Simonov <xi@resolvent.net>
Sun, 29 May 2011 05:29:39 +0000 (05:29 +0000)
Makefile.am
configure.ac
yaml-0.1.pc.in [new file with mode: 0644]

index 7835b61739a6185a2117d217bf09248b18d5443a..4111fdb721a71b39236f7fdb16fe950a0f20810b 100644 (file)
@@ -5,6 +5,9 @@ SUBDIRS = include src . tests win32
 
 EXTRA_DIST = README LICENSE doc/doxygen.cfg
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = yaml-0.1.pc
+
 maintainer-clean-local:
        -rm -f aclocal.m4 config.h.in configure config/*
        -find ${builddir} -name Makefile.in -exec rm -f '{}' ';'
index 6719caa2df91af9b206480f8c1e02b41a9581363..f94a2a542bb87dcae9373820d9740385808066c1 100644 (file)
@@ -67,7 +67,7 @@ AC_C_CONST
 AC_TYPE_SIZE_T
 
 # Define Makefiles.
-AC_CONFIG_FILES([include/Makefile src/Makefile Makefile tests/Makefile win32/Makefile])
+AC_CONFIG_FILES([yaml-0.1.pc include/Makefile src/Makefile Makefile tests/Makefile win32/Makefile])
 
 # Generate the "configure" script.
 AC_OUTPUT
diff --git a/yaml-0.1.pc.in b/yaml-0.1.pc.in
new file mode 100644 (file)
index 0000000..c566abf
--- /dev/null
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+includedir=@includedir@
+libdir=@libdir@
+
+Name: LibYAML
+Description: Library to parse and emit YAML
+Version: @PACKAGE_VERSION@
+Cflags:
+Libs: -L${libdir} -lyaml
This page took 0.03512 seconds and 5 git commands to generate.