X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/ea410ba1d3b06ba6f60305c7d31369da134906dd..e7fd161254656759e3e9cd25bf18ec9d2f0c1aac:/lib/Makefile.am diff --git a/lib/Makefile.am b/lib/Makefile.am index f79435b..0216f05 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -38,6 +38,7 @@ libdisorder_a_SOURCES=charset.c charset.h \ hash.c hash.h \ heap.h \ hex.c hex.h \ + ifreq.c ifreq.h \ inputline.c inputline.h \ kvp.c kvp.h \ log.c log.h log-impl.h \ @@ -65,6 +66,7 @@ libdisorder_a_SOURCES=charset.c charset.h \ utf8.h utf8.c \ vacopy.h \ vector.c vector.h \ + wav.h wav.c \ words.c words.h casefold.h unicodegc.h \ wstat.c wstat.h \ disorder.h @@ -78,7 +80,9 @@ definitions.h: Makefile echo "#define SBINDIR \"${sbindir}/\"" >> $@.new echo "#define BINDIR \"${bindir}/\"" >> $@.new echo "#define FINKBINDIR \"${finkbindir}/\"" >> $@.new - mv $@.new $@ + @if cmp $@.new $@; then \ + echo rm -f $@.new; rm -f $@.new; else \ + echo mv $@.new $@; mv $@.new $@; fi defs.o: definitions.h defs.lo: definitions.h @@ -93,4 +97,4 @@ check: test #test.i $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) -c $< > $@.new mv $@.new $@ -CLEANFILES=definitions.h +CLEANFILES=definitions.h definitions.h.new