changeset 4815:651f5da89c3f

pkgconfig files should be installed in lib/pkgconfig
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 26 Nov 2008 11:53:37 +0900
parents 06fb50c7f40a
children 49bd21710d54
files Makefile buildsys.mk.in
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Nov 26 05:15:41 2008 +0900
+++ b/Makefile	Wed Nov 26 11:53:37 2008 +0900
@@ -221,7 +221,7 @@
 install-extra:
 	for i in audlegacy.pc audlegacyclient.pc; do \
 	        ${INSTALL_STATUS}; \
-		if ${MKDIR_P} ${DESTDIR}${libdir}/pkgconfig && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/pkgconfig/$$i; then \
+		if ${MKDIR_P} ${DESTDIR}${pkgconfdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${pkgconfdir}/$$i; then \
 			${INSTALL_OK}; \
 		else \
 			${INSTALL_FAILED}; \
@@ -241,8 +241,8 @@
 
 uninstall-extra:
 	for i in audlegacy.pc audlegacyclient.pc; do \
-		if [ -f ${DESTDIR}${libdir}/pkgconfig/$$i ]; then \
-			if rm -f ${DESTDIR}${libdir}/pkgconfig/$$i; then \
+		if [ -f ${DESTDIR}${pkgconfdir}/$$i ]; then \
+			if rm -f ${DESTDIR}${pkgconfdir}/$$i; then \
 				${DELETE_OK}; \
 			else \
 				${DELETE_FAILED}; \
--- a/buildsys.mk.in	Wed Nov 26 05:15:41 2008 +0900
+++ b/buildsys.mk.in	Wed Nov 26 11:53:37 2008 +0900
@@ -62,6 +62,7 @@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 bindir = @bindir@
+pkgconfdir = @libdir@/pkgconfig
 libdir = @libdir@/${PACKAGE}
 plugindir ?= ${libdir}
 datarootdir = @datarootdir@