X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e9e8a16d359c900f114853eb0e407a8064e4350c..67e8149cbfc4943060862df8a97871a0734f7242:/disobedience/Makefile.am diff --git a/disobedience/Makefile.am b/disobedience/Makefile.am index 031d68d..e7072c7 100644 --- a/disobedience/Makefile.am +++ b/disobedience/Makefile.am @@ -2,20 +2,18 @@ # This file is part of DisOrder. # Copyright (C) 2006-2008 Richard Kettlewell # -# This program is free software; you can redistribute it and/or modify +# 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 -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA +# along with this program. If not, see . # bin_PROGRAMS=disobedience @@ -26,9 +24,11 @@ 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 \ - choose.c misc.c control.c properties.c menu.c \ - log.c progress.c login.c rtp.c help.c \ - ../lib/memgc.c settings.c + recent.c added.c queue-generic.c queue-generic.h queue-menu.c \ + choose.c choose-menu.c choose-search.c popup.c misc.c \ + control.c properties.c menu.c log.c progress.c login.c rtp.c \ + help.c ../lib/memgc.c settings.c users.c lookup.c choose.h \ + popup.h disobedience_LDADD=../lib/libdisorder.a $(LIBPCRE) $(LIBGC) $(LIBGCRYPT) \ $(LIBASOUND) $(COREAUDIO) $(LIBDB) disobedience_LDFLAGS=$(GTK_LIBS) @@ -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 "};" @@ -65,4 +66,7 @@ check-help: all unset DISPLAY;./disobedience --version > /dev/null unset DISPLAY;./disobedience --help > /dev/null +CLEANFILES=disobedience.html images.h \ + *.gcda *.gcov *.gcno *.c.html index.html + export GNUSED