Commit 16c9e918 authored by Colomban Wendling's avatar Colomban Wendling

Properly install PkgConfig file and headers.

Install headers and PkgConfig file and fix the latter.
parent 7dcfd737
......@@ -4,6 +4,8 @@ ACLOCAL_AMFLAGS = -I build/m4
.PHONY: doc
pkgconfig_DATA=ovcc.pc
doc:
$(AM_V_GEN) \
test -d "$(DOC_OUTPUT_DIR)" || $(MKDIR_P) "$(DOC_OUTPUT_DIR)"; \
......
......@@ -11,6 +11,11 @@ AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
pkgconfigdir="${libdir}/pkgconfig"
ovccincludedir="${includedir}/ovcc"
AC_SUBST(pkgconfigdir)
AC_SUBST(ovccincludedir)
# Checks for programs.
AC_PROG_CC
AC_PROG_LIBTOOL
......
......@@ -9,4 +9,4 @@ Version: @VERSION@
Requires: glib-2.0
Libs: -L${libdir} -lovcc
Libs.private:
Cflags: -I${includedir}/ovcc
Cflags: -I${includedir}
......@@ -10,6 +10,13 @@ libovcc_la_SOURCES = board.c \
tileset.c \
tilesdef.c \
xmlutils.c
ovccinclude_HEADERS = ovcc.h \
board.h \
player.h \
stack.h \
tile.h \
tileset.h \
tilesdef.h
test_LDADD = libovcc.la -lpthread
test_SOURCES = test.c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment