-disobedience.html: ../doc/disobedience.1 $(top_srcdir)/scripts/htmlman
- rm -f $@.new
- $(top_srcdir)/scripts/htmlman $< >$@.new
- chmod 444 $@.new
- mv -f $@.new $@
-
-misc.o: images.h
-
-images.h: $(PNGS)
- exec > @$.new; \
- for png in $(PNGS); do \
- name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`; \
- gdk-pixbuf-csource --raw --name=image_$$name $$png; \
- done; \
- echo "static const struct image images[] = {"; \
- for png in $(PNGS); do \
- name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`; \
- echo " { \"$$name.png\", image_$$name },"; \
- done; \
- echo "};"
- mv @$.new $@