summaryrefslogtreecommitdiffstats
path: root/plug-ins/imagemap/images/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plug-ins/imagemap/images/Makefile.am')
-rw-r--r--plug-ins/imagemap/images/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/plug-ins/imagemap/images/Makefile.am b/plug-ins/imagemap/images/Makefile.am
new file mode 100644
index 0000000..9cf0b28
--- /dev/null
+++ b/plug-ins/imagemap/images/Makefile.am
@@ -0,0 +1,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)