build: move pkgconfig definitions to one place

This commit is contained in:
Danny Robson 2016-02-25 13:18:28 +11:00
parent fbd221a739
commit 1a92c38cb8

View File

@ -9,9 +9,6 @@ AM_DEFAULT_SOURCE_EXT = .cpp
############################################################################### ###############################################################################
## Source definitions ## Source definitions
pkgincludedir = $(includedir)/cruft/util
pkglibdir = $(libdir)/cruft
UTIL_FILES = \ UTIL_FILES = \
adapter.hpp \ adapter.hpp \
adapter.cpp \ adapter.cpp \
@ -318,6 +315,8 @@ libcruft_util_a_SOURCES = $(UTIL_FILES)
libcruft_util_a_CXXFLAGS = $(AM_CXXFLAGS) libcruft_util_a_CXXFLAGS = $(AM_CXXFLAGS)
nobase_pkginclude_HEADERS = $(filter %.hpp %.ipp, $(UTIL_FILES)) nobase_pkginclude_HEADERS = $(filter %.hpp %.ipp, $(UTIL_FILES))
pkgincludedir = $(includedir)/cruft/util
pkglibdir = $(libdir)/
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libcruft-util.pc pkgconfig_DATA = libcruft-util.pc