diff options
author | Rob Staudinger <robsta@linux.intel.com> | 2012-02-10 14:20:51 +0100 |
---|---|---|
committer | Ross Burton <ross.burton@intel.com> | 2012-02-10 13:30:13 +0000 |
commit | daa97cf6093b93f064a61b126eb1281b9fba276b (patch) | |
tree | aba6e6da147fa5b71af8afcdc4aa6c0516661b5e | |
parent | e8d6b0ad09ebdcb81b2229937a982ff06c9f4394 (diff) |
build: generate .pc files at build time
The pkg-config files for librest would only be generated on install
time, which breaks the android port, pulling things from the build
tree. Add a dependency for the .pc files on all-local, so they are
create already when building.
See https://bugs.freedesktop.org/show_bug.cgi?id=45855
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 4dd9d8f..e9d99aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,6 +12,8 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS} +all-local: rest-$(API_VERSION).pc rest-extras-$(API_VERSION).pc + if GCOV_ENABLED cov-reset: @rm -fr coverage |