comparison Makefile @ 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 7bf7f83a217e
children 54b4f7aaca24
comparison
equal deleted inserted replaced
4814:06fb50c7f40a 4815:651f5da89c3f
219 include buildsys.mk 219 include buildsys.mk
220 220
221 install-extra: 221 install-extra:
222 for i in audlegacy.pc audlegacyclient.pc; do \ 222 for i in audlegacy.pc audlegacyclient.pc; do \
223 ${INSTALL_STATUS}; \ 223 ${INSTALL_STATUS}; \
224 if ${MKDIR_P} ${DESTDIR}${libdir}/pkgconfig && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/pkgconfig/$$i; then \ 224 if ${MKDIR_P} ${DESTDIR}${pkgconfdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${pkgconfdir}/$$i; then \
225 ${INSTALL_OK}; \ 225 ${INSTALL_OK}; \
226 else \ 226 else \
227 ${INSTALL_FAILED}; \ 227 ${INSTALL_FAILED}; \
228 fi; \ 228 fi; \
229 done 229 done
239 rm -f ${DESTDIR}${datadir}/audlegacy/Skins/Default/balance.png; \ 239 rm -f ${DESTDIR}${datadir}/audlegacy/Skins/Default/balance.png; \
240 fi 240 fi
241 241
242 uninstall-extra: 242 uninstall-extra:
243 for i in audlegacy.pc audlegacyclient.pc; do \ 243 for i in audlegacy.pc audlegacyclient.pc; do \
244 if [ -f ${DESTDIR}${libdir}/pkgconfig/$$i ]; then \ 244 if [ -f ${DESTDIR}${pkgconfdir}/$$i ]; then \
245 if rm -f ${DESTDIR}${libdir}/pkgconfig/$$i; then \ 245 if rm -f ${DESTDIR}${pkgconfdir}/$$i; then \
246 ${DELETE_OK}; \ 246 ${DELETE_OK}; \
247 else \ 247 else \
248 ${DELETE_FAILED}; \ 248 ${DELETE_FAILED}; \
249 fi \ 249 fi \
250 fi; \ 250 fi; \