blob: b2e777c0fccb645a505c71f91220a59723c8982a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Makefile to create the stock icon image data
# using pixbuf-csource tool
GDK_PIXBUF_CSOURCE = gdk-pixbuf-csource
STOCK_IMAGES = \
stock_down_arrow_24.png \
stock_down_left_arrow_24.png \
stock_down_right_arrow_24.png \
stock_eat_16.png \
stock_eat_24.png \
stock_inv_16.png \
stock_inv_24.png \
stock-kick-16.png \
stock-kick-24.png \
stock_left_arrow_24.png \
stock-open-16.png \
stock-open-24.png \
stock_right_arrow_24.png \
stock_self_24.png \
stock_throw_16.png \
stock_throw_24.png \
stock_up_arrow_24.png \
stock_up_left_arrow_24.png \
stock_up_right_arrow_24.png \
stock-zap-16.png \
stock-zap-24.png \
stock_spellbook_16.png \
stock_spellbook_24.png \
stock_whatshere_16.png \
stock_whatshere_24.png \
stock_whatsthere_16.png \
stock_whatsthere_24.png \
stock_search_16.png \
stock_search_24.png
all: hack-stock-pixbufs.h
stock-icons.list: $(STOCK_IMAGES)
( rm -f $@; \
for image in $(STOCK_IMAGES); do \
echo $$image | \
sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
echo " $$image" >> $@; \
done )
hack-stock-pixbufs.h: stock-icons.list
$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat stock-icons.list` > $(@F)
clean:
rm stock-icons.list hack-stock-pixbufs.h
|