X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..3c46e7df09417e867dd7e632fe9bea13f1cc513d:/disobedience/Makefile.am diff --git a/disobedience/Makefile.am b/disobedience/Makefile.am index 35b2962..9b18ca9 100644 --- a/disobedience/Makefile.am +++ b/disobedience/Makefile.am @@ -1,6 +1,6 @@ # # This file is part of DisOrder. -# Copyright (C) 2006 Richard Kettlewell +# Copyright (C) 2006, 2007 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 @@ -24,8 +24,10 @@ AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib AM_CFLAGS=$(GLIB_CFLAGS) $(GTK_CFLAGS) disobedience_SOURCES=disobedience.h disobedience.c client.c queue.c \ - choose.c misc.c style.h control.c properties.c menu.c -disobedience_LDADD=../lib/libdisorder.la + choose.c misc.c style.h control.c properties.c menu.c \ + log.c progress.c login.c rtp.c help.c \ + ../lib/memgc.c +disobedience_LDADD=../lib/libdisorder.a $(LIBPCRE) $(LIBGC) $(LIBGCRYPT) disobedience_LDFLAGS=$(GTK_LIBS) install-exec-hook: @@ -36,8 +38,20 @@ check: check-help disobedience.o: style.h style.h: ${srcdir}/disobedience.rc ${top_srcdir}/scripts/text2c - ${top_srcdir}/scripts/text2c style ${srcdir}/disobedience.rc > style.h.tmp - mv style.h.tmp style.h + ${top_srcdir}/scripts/text2c style ${srcdir}/disobedience.rc > $@.tmp + mv $@.tmp $@ + +help.o: manual.h + +manual.html: ../doc/disobedience.1 $(top_srcdir)/scripts/htmlman + rm -f $@.new + $(top_srcdir)/scripts/htmlman $< >$@.new + chmod 444 $@.new + mv -f $@.new $@ + +manual.h: manual.html ${top_srcdir}/scripts/text2c + ${top_srcdir}/scripts/text2c manual manual.html > $@.tmp + mv $@.tmp $@ EXTRA_DIST=disobedience.rc