From: Adam Dickmeiss Date: Mon, 2 Mar 2009 04:23:07 +0000 (+0100) Subject: Output to real file rather than .tmp X-Git-Tag: v3.0.45~18 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=0e3cbe2d2a8508c66059eae870b15a65d0059a4a;p=yaz-moved-to-github.git Output to real file rather than .tmp --- diff --git a/src/Makefile.am b/src/Makefile.am index 849cb70..49d5c56 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -36,18 +36,15 @@ AM_YFLAGS=-p cql_ # MARC8->UTF8 conversion is generated from codetables.xml marc8.c: charconv.tcl codetables.xml - $(TCLSH) $(srcdir)/charconv.tcl -p marc8 $(srcdir)/codetables.xml -o $@.tmp - mv -f $@.tmp $@ + $(TCLSH) $(srcdir)/charconv.tcl -p marc8 $(srcdir)/codetables.xml -o $@ # UTF-8->MARC8 conversion is generated from codetables.xml marc8r.c: charconv.tcl codetables.xml - $(TCLSH) $(srcdir)/charconv.tcl -r -p marc8r $(srcdir)/codetables.xml -o $@.tmp - mv -f $@.tmp $@ + $(TCLSH) $(srcdir)/charconv.tcl -r -p marc8r $(srcdir)/codetables.xml -o $@ # ISO5426->UTF8 conversion is generated from codetables-iso5426.xml iso5426.c: charconv.tcl codetables-iso5426.xml - $(TCLSH) $(srcdir)/charconv.tcl -p iso5426 $(srcdir)/codetables-iso5426.xml -o $@.tmp - mv -f $@.tmp $@ + $(TCLSH) $(srcdir)/charconv.tcl -p iso5426 $(srcdir)/codetables-iso5426.xml -o $@ # Generate OID database from CSV oid_std.c $(top_srcdir)/include/yaz/oid_std.h: oidtoc.tcl oid.csv