Mercurial > audlegacy
diff Makefile @ 3671:86e26cee3a15
Fix install of audacious.desktop.
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Sun, 30 Sep 2007 13:21:17 +0200 |
parents | 2d38a448dc14 |
children | 5577a3ff7b27 |
line wrap: on
line diff
--- a/Makefile Sun Sep 30 13:09:12 2007 +0200 +++ b/Makefile Sun Sep 30 13:21:17 2007 +0200 @@ -117,6 +117,14 @@ ${INSTALL_FAILED}; \ fi; \ done + for i in audacious.desktop; do \ + ${INSTALL_STATUS}; \ + if ${MKDIR_P} ${DESTDIR}${datadir}/applications && ${INSTALL} -m 644 $$i ${DESTDIR}${datadir}/applications/$$i; then \ + ${INSTALL_OK}; \ + else \ + ${INSTALL_FAILED}; \ + fi \ + done uninstall-extra: for i in audacious.pc audclient.pc; do \ @@ -128,3 +136,12 @@ fi \ fi; \ done + for i in audacious.desktop; do \ + if test -f ${DESTDIR}${datadir}/applications/$$i; then \ + if rm -f ${DESTDIR}${datadir}/applications/$$i; then \ + ${DELETE_OK}; \ + else \ + ${DELETE_FAILED}; \ + fi \ + fi \ + done