Commit 7e3fd21b authored by daniel_e's avatar daniel_e
Browse files

Use shell magic to generate the build list for gdk-pixbuf-csource. It's way

cooler than doing it manually :)
parent e4a82526
2002-12-02 Daniel Elstner <daniel.elstner@gmx.net>
* pixmaps/Makefile.am: Use shell magic to generate the build list
for gdk-pixbuf-csource. It's way cooler than doing it manually :)
2002-12-02 Daniel Elstner <daniel.elstner@gmx.net>
* src/mainwindow.cc (create_left_pane): Use 'd' instead of 'F'
......
......@@ -24,14 +24,14 @@ dist_pixmap_DATA = regexxer.png
stockimages = stock_menu_about.png stock_save_all_16.png stock_save_all_24.png
dist_noinst_DATA = $(stockimages)
pixbuf_build_list = \
stock_menu_about $(srcdir)/stock_menu_about.png \
stock_save_all_16 $(srcdir)/stock_save_all_16.png \
stock_save_all_24 $(srcdir)/stock_save_all_24.png
BUILT_SOURCES = stockimages.h
CLEANFILES = stockimages.h
stockimages.h: $(stockimages)
$(GDK_PIXBUF_CSOURCE) --extern --raw --build-list $(pixbuf_build_list) > $@
build_list=''; \
list='$(stockimages)'; for file in $$list ; do \
name=`echo $$file | sed 's|\..*$$||'`; \
build_list="$$build_list $$name $(srcdir)/$$file"; \
done; \
$(GDK_PIXBUF_CSOURCE) --extern --raw --build-list $$build_list > $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment