annotate skins/Classic/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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
1 include ../../buildsys.mk
1917
01d4bed2c4c9 [svn] - svn is stoned again part 2
nenolod
parents:
diff changeset
2
1920
5f725038476d [svn] - oh, and use the right path too.
nenolod
parents: 1919
diff changeset
3 skindir = $(pkgdatadir)/Skins/Classic
2409
30ab29ed32d8 [svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents: 2393
diff changeset
4
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
5 install-extra:
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
6 y="*.png *.txt *.hints"; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
7 for i in $$y; do \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
8 ${INSTALL_STATUS}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
9 if ${MKDIR_P} ${DESTDIR}${skindir} && ${INSTALL} -m 644 $$i ${DESTDIR}${skindir}/$$i; then \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
10 ${INSTALL_OK}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
11 else \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
12 ${INSTALL_FAILED}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
13 fi; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
14 done
2409
30ab29ed32d8 [svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents: 2393
diff changeset
15
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
16 uninstall-extra:
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
17 y="*.png *.txt *.hints"; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
18 for i in $$y; do \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
19 if [ -f ${DESTDIR}${skindir}/$$i ]; then \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
20 if rm -f ${DESTDIR}${skindir}/$$i; then \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
21 ${DELETE_OK}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
22 else \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
23 ${DELETE_FAILED}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
24 fi \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
25 fi; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 2414
diff changeset
26 done