X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b25aac593c0321473525a3e5b12f406bd3961aec..b18d2a349a2bbc76cd4ac0792e8212a3bc9aae7f:/disobedience/Makefile.am diff --git a/disobedience/Makefile.am b/disobedience/Makefile.am index 93a280a..ae3bc6c 100644 --- a/disobedience/Makefile.am +++ b/disobedience/Makefile.am @@ -49,12 +49,12 @@ misc.o: images.h images.h: $(PNGS) exec > @$.new; \ for png in $(PNGS); do \ - name=`echo $$png | sed '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 | sed 's,.*/,,;s,\.png,,;'`; \ + name=`echo $$png | $(GNUSED) 's,.*/,,;s,\.png,,;'`; \ echo " { \"$$name.png\", image_$$name },"; \ done; \ echo "};" @@ -63,3 +63,5 @@ images.h: $(PNGS) # check everything has working --help check-help: all ./disobedience --version > /dev/null + +export GNUSED