[Pkg-bitcoin-commits] [libunivalue] 53/76: build: move pkg-config files to pc dir and properly install libunivalue.pc

Jonas Smedegaard dr at jones.dk
Mon Apr 4 09:18:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libunivalue.

commit 36bdba26701e0a1d9ca8be1ada4e980f96cdd9f0
Author: Cory Fields <cory-nospam- at coryfields.com>
Date:   Fri Sep 25 16:30:34 2015 -0400

    build: move pkg-config files to pc dir and properly install libunivalue.pc
---
 Makefile.am                               | 3 +++
 configure.ac                              | 4 ++--
 {lib => pc}/libunivalue-uninstalled.pc.in | 0
 {lib => pc}/libunivalue.pc.in             | 0
 4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 7f501d7..2800f46 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,9 @@ noinst_HEADERS = lib/univalue_escapes.h
 
 lib_LTLIBRARIES = lib/libunivalue.la
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = pc/libunivalue.pc
+
 lib_libunivalue_la_SOURCES = \
 	lib/univalue.cpp \
 	lib/univalue_read.cpp \
diff --git a/configure.ac b/configure.ac
index 8f3fa31..6cd9516 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,8 +60,8 @@ esac
 
 AC_CONFIG_FILES([
     Makefile
-    lib/libunivalue.pc
-    lib/libunivalue-uninstalled.pc])
+    pc/libunivalue.pc
+    pc/libunivalue-uninstalled.pc])
 
 AC_SUBST(LIBTOOL_APP_LDFLAGS)
 AC_SUBST(BUILD_EXEEXT)
diff --git a/lib/libunivalue-uninstalled.pc.in b/pc/libunivalue-uninstalled.pc.in
similarity index 100%
rename from lib/libunivalue-uninstalled.pc.in
rename to pc/libunivalue-uninstalled.pc.in
diff --git a/lib/libunivalue.pc.in b/pc/libunivalue.pc.in
similarity index 100%
rename from lib/libunivalue.pc.in
rename to pc/libunivalue.pc.in

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libunivalue.git



More information about the Pkg-bitcoin-commits mailing list