[librest] build: generate .pc files at build time



commit daa97cf6093b93f064a61b126eb1281b9fba276b
Author: Rob Staudinger <robsta linux intel com>
Date:   Fri Feb 10 14:20:51 2012 +0100

    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

 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]