comparison skins/Ivory/Makefile @ 3535:9ddf21ab5c84 trunk

Transit to Mk2.
author William Pitcock <nenolod@atheme.org>
date Mon, 17 Sep 2007 13:10:19 -0500
parents 4c4669781043
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 skindir = $(pkgdatadir)/Skins/Ivory 3 skindir = $(pkgdatadir)/Skins/Ivory
5 OBJECTIVE_DATA = \
6 balance.png:$(skindir) \
7 cbuttons.png:$(skindir) \
8 eq_ex.png:$(skindir) \
9 eqmain.png:$(skindir) \
10 main.png:$(skindir) \
11 monoster.png:$(skindir) \
12 nums_ex.png:$(skindir) \
13 playpaus.png:$(skindir) \
14 pledit.png:$(skindir) \
15 posbar.png:$(skindir) \
16 shufrep.png:$(skindir) \
17 text.png:$(skindir) \
18 titlebar.png:$(skindir) \
19 volume.png:$(skindir) \
20 pledit.txt:$(skindir) \
21 viscolor.txt:$(skindir) \
22 skin.hints:$(skindir)
23 4
24 include ../../mk/objective.mk 5 install-extra:
6 y="*.png *.txt *.hints"; \
7 for i in $$y; do \
8 ${INSTALL_STATUS}; \
9 if ${MKDIR_P} ${DESTDIR}${skindir} && ${INSTALL} -m 644 $$i ${DESTDIR}${skindir}/$$i; then \
10 ${INSTALL_OK}; \
11 else \
12 ${INSTALL_FAILED}; \
13 fi; \
14 done
15
16 uninstall-extra:
17 y="*.png *.txt *.hints"; \
18 for i in $$y; do \
19 if [ -f ${DESTDIR}${skindir}/$$i ]; then \
20 if rm -f ${DESTDIR}${skindir}/$$i; then \
21 ${DELETE_OK}; \
22 else \
23 ${DELETE_FAILED}; \
24 fi \
25 fi; \
26 done