mirror of https://github.com/akheron/jansson
Add pkg-config support
Thanks to Sean Middleditch for contributing.
This commit is contained in:
parent
f5202bedef
commit
aeb5b481c9
|
@ -22,3 +22,4 @@ missing
|
||||||
*.la
|
*.la
|
||||||
stamp-h1
|
stamp-h1
|
||||||
*.pyc
|
*.pyc
|
||||||
|
*.pc
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
EXTRA_DIST = CHANGES LICENSE README.rst
|
EXTRA_DIST = CHANGES LICENSE README.rst
|
||||||
SUBDIRS = doc src test
|
SUBDIRS = doc src test
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = jansson.pc
|
||||||
|
|
||||||
distcheck-hook:
|
distcheck-hook:
|
||||||
sphinx-build -b html -W \
|
sphinx-build -b html -W \
|
||||||
$(distdir)/doc \
|
$(distdir)/doc \
|
||||||
|
|
|
@ -19,6 +19,7 @@ AC_PROG_LIBTOOL
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
|
jansson.pc
|
||||||
Makefile
|
Makefile
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: Jansson
|
||||||
|
Description: Library for encoding, decoding and manipulating JSON data
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -ljansson
|
||||||
|
Cflags: -I${includedir}
|
Loading…
Reference in New Issue