summaryrefslogtreecommitdiffstats
path: root/plug-ins/imagemap/images/Makefile.am
blob: 9cf0b285afd0289bfab352f836d35fbcf224962a (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
## Process this file with automake to produce Makefile.in

STOCK_IMAGES = \
	stock-circle.png	\
	stock-coord.png		\
	stock-dimension.png	\
	stock-java.png		\
	stock-polygon.png	\
	stock-rectangle.png	\
	stock-to-back.png	\
	stock-to-front.png

EXTRA_DIST = $(STOCK_IMAGES)

noinst_DATA = imap-stock-pixbufs.h
CLEANFILES = $(noinst_DATA) stock-icons.list

stock-icons.list: $(STOCK_IMAGES) Makefile.am
	( rm -f $@; \
          for image in $(STOCK_IMAGES); do \
            echo $$image | \
              sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
	    echo "  $(srcdir)/$$image" >> $@; \
	  done )

$(srcdir)/imap-stock-pixbufs.h: stock-icons.list
	$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat stock-icons.list` > $(@F)