X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/02e6eb5f2edea91b7512f4969ac7d4c4f3a6251d..444be90901ad09e78d0ff2a92872f43a510f5425:/disobedience/Makefile.am?ds=sidebyside diff --git a/disobedience/Makefile.am b/disobedience/Makefile.am index 4a49500..7b823c2 100644 --- a/disobedience/Makefile.am +++ b/disobedience/Makefile.am @@ -1,6 +1,6 @@ # # This file is part of DisOrder. -# Copyright (C) 2006-2009 Richard Kettlewell +# Copyright (C) 2006-2010 Richard Kettlewell # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ SUBDIRS=manual AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib AM_CFLAGS=$(GLIB_CFLAGS) $(GTK_CFLAGS) -PNGS:=$(shell export LC_COLLATE=C;echo ${top_srcdir}/images/*.png) disobedience_SOURCES=disobedience.h disobedience.c client.c queue.c \ recent.c added.c queue-generic.c queue-generic.h queue-menu.c \ @@ -39,29 +38,13 @@ install-exec-hook: check: check-help -misc.o: images.h - -images.h: $(PNGS) - set -e; \ - 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 $@ +misc.o: ../images/images.h # check everything has working --help check-help: all unset DISPLAY;./disobedience --version > /dev/null unset DISPLAY;./disobedience --help > /dev/null -CLEANFILES=images.h \ - *.gcda *.gcov *.gcno *.c.html index.html +CLEANFILES=*.gcda *.gcov *.gcno *.c.html index.html export GNUSED