From: Richard Kettlewell Date: Mon, 9 Jun 2008 06:44:30 +0000 (+0100) Subject: Tidy up makefile X-Git-Tag: 4.1~15^2~69 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/28b4af0a0b3e59835dfc444df245a4d115c86fa4 Tidy up makefile --- diff --git a/disobedience/Makefile.am b/disobedience/Makefile.am index 8c49273..5b0c03a 100644 --- a/disobedience/Makefile.am +++ b/disobedience/Makefile.am @@ -47,14 +47,15 @@ disobedience.html: ../doc/disobedience.1 $(top_srcdir)/scripts/htmlman misc.o: images.h images.h: $(PNGS) + set -e; \ exec > @$.new; \ for png in $(PNGS); do \ - name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`; \ + 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,,;'`; \ + name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`; \ echo " { \"$$name.png\", image_$$name },"; \ done; \ echo "};"