changeset 3669:2d38a448dc14

.pc files are arch-independent, therefore they go to ${datadir}.
author Jonathan Schleifer <js@h3c.de>
date Sun, 30 Sep 2007 13:08:53 +0200
parents ae980534f08c
children 3a6464407cfd
files Makefile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Sep 29 22:11:57 2007 +0200
+++ b/Makefile	Sun Sep 30 13:08:53 2007 +0200
@@ -111,7 +111,7 @@
 install-extra:
 	for i in audacious.pc audclient.pc; do \
 	        ${INSTALL_STATUS}; \
-		if ${MKDIR_P} ${DESTDIR}${libdir}/pkgconfig && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/pkgconfig/$$i; then \
+		if ${MKDIR_P} ${DESTDIR}${datadir}/pkgconfig && ${INSTALL} -m 644 $$i ${DESTDIR}${datadir}/pkgconfig/$$i; then \
 			${INSTALL_OK}; \
 		else \
 			${INSTALL_FAILED}; \
@@ -120,8 +120,8 @@
 
 uninstall-extra:
 	for i in audacious.pc audclient.pc; do \
-		if [ -f ${DESTDIR}${libdir}/pkgconfig/$$i ]; then \
-			if rm -f ${DESTDIR}${libdir}/pkgconfig/$$i; then \
+		if [ -f ${DESTDIR}${datadir}/pkgconfig/$$i ]; then \
+			if rm -f ${DESTDIR}${datadir}/pkgconfig/$$i; then \
 				${DELETE_OK}; \
 			else \
 				${DELETE_FAILED}; \