Mercurial > audlegacy
changeset 3661:19331a6b5d8e
Fix wrong status message.
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Thu, 27 Sep 2007 22:01:38 +0200 |
parents | c54dfcdc839e |
children | 0a82e6c75d7f |
files | src/audacious/Makefile |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/Makefile Thu Sep 27 21:59:11 2007 +0200 +++ b/src/audacious/Makefile Thu Sep 27 22:01:38 2007 +0200 @@ -219,8 +219,9 @@ install-extra: if test x"${PROG_IMPLIB_NEEDED}" = x"yes"; then \ for i in ${PROG}; do \ + i="lib$$i.a" \ ${INSTALL_STATUS}; \ - if ${MKDIR_P} ${DESTDIR}${libdir} && install -m 644 lib$$i.a ${DESTDIR}${libdir}/lib$$i.a; then \ + if ${MKDIR_P} ${DESTDIR}${libdir} && install -m 644 $$i ${DESTDIR}${libdir}/$$i; then \ ${INSTALL_OK}; \ else \ ${INSTALL_FAILED}; \ @@ -231,8 +232,9 @@ uninstall-extra: if test x"${PROG_IMPLIB_NEEDED}" = x"yes"; then \ for i in ${PROG}; do \ - if test -f ${DESTDIR}${libdir}/lib$$i.a; then \ - if rm -f ${DESTDIR}${libdir}/lib$$i.a; then + i="lib$$i.a" \ + if test -f ${DESTDIR}${libdir}/$$i; then \ + if rm -f ${DESTDIR}${libdir}/$$i; then ${DELETE_OK}; \ else \ ${DELETE_FAILED}; \