diff options
Diffstat (limited to 'patches/gtk2/icons/Makefile')
-rw-r--r-- | patches/gtk2/icons/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/patches/gtk2/icons/Makefile b/patches/gtk2/icons/Makefile new file mode 100644 index 0000000..b2e777c --- /dev/null +++ b/patches/gtk2/icons/Makefile @@ -0,0 +1,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 |