comparison icons/Makefile @ 3535:9ddf21ab5c84 trunk

Transit to Mk2.
author William Pitcock <nenolod@atheme.org>
date Mon, 17 Sep 2007 13:10:19 -0500
parents 30ab29ed32d8
children
comparison
equal deleted inserted replaced
3534:10990786a090 3535:9ddf21ab5c84
1 include ../mk/rules.mk 1 include ../buildsys.mk
2 include ../mk/init.mk
3 2
4 pixmapsdir = $(datadir)/pixmaps 3 pixmapsdir = $(datadir)/pixmaps
5 OBJECTIVE_DATA = audacious.png:$(pixmapsdir)
6 4
7 include ../mk/objective.mk 5 install-extra:
6 y="audacious.png"; \
7 for i in $$y; do \
8 ${INSTALL_STATUS}; \
9 if ${MKDIR_P} ${DESTDIR}${pixmapsdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${pixmapsdir}/$$i; then \
10 ${INSTALL_OK}; \
11 else \
12 ${INSTALL_FAILED}; \
13 fi; \
14 done
15
16 uninstall-extra:
17 y="audacious.png"; \
18 for i in $$y; do \
19 if [ -f ${DESTDIR}${pixmapsdir}/$$i ]; then \
20 if rm -f ${DESTDIR}${pixmapsdir}/$$i; then \
21 ${DELETE_OK}; \
22 else \
23 ${DELETE_FAILED}; \
24 fi \
25 fi; \
26 done
27