comparison src/audacious/images/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 imagesdir = $(pkgdatadir)/images 3 imagesdir = $(pkgdatadir)/images
5 4
6 OBJECTIVE_DATA = \ 5 install-extra:
7 about-logo.png:$(imagesdir) \ 6 y="*.png *.xpm"; \
8 audacious_player.xpm:$(imagesdir) \ 7 for i in $$y; do \
9 appearance.png:$(imagesdir) \ 8 ${INSTALL_STATUS}; \
10 audio.png:$(imagesdir) \ 9 if ${MKDIR_P} ${DESTDIR}${imagesdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${imagesdir}/$$i; then \
11 connectivity.png:$(imagesdir) \ 10 ${INSTALL_OK}; \
12 mouse.png:$(imagesdir) \ 11 else \
13 playlist.png:$(imagesdir) \ 12 ${INSTALL_FAILED}; \
14 plugins.png:$(imagesdir) \ 13 fi; \
15 eq.png:$(imagesdir) 14 done
16 15
17 include ../../../mk/objective.mk 16 uninstall-extra:
17 y="*.png *.xpm"; \
18 for i in $$y; do \
19 if [ -f ${DESTDIR}${imagesdir}/$$i ]; then \
20 if rm -f ${DESTDIR}${imagesdir}/$$i; then \
21 ${DELETE_OK}; \
22 else \
23 ${DELETE_FAILED}; \
24 fi \
25 fi; \
26 done;
27