X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2FMakefile.am;h=849cb70e80f5f89510f04109e369e13cda21b44f;hb=47db800079d3df8e8adfd93b466795d0803dabe8;hp=b27f1fe453977d220d6e0c53a93e77306787dcbe;hpb=32e16c37ce5b2d1ed0b3e6edfb48fd5ae1ec24b3;p=yaz-moved-to-github.git diff --git a/src/Makefile.am b/src/Makefile.am index b27f1fe..849cb70 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ ## This file is part of the YAZ toolkit. -## Copyright (C) 1995-2008 Index Data +## Copyright (C) 1995-2009 Index Data YAZ_VERSION_INFO=3:0:0 @@ -36,15 +36,18 @@ 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 marc8.c + $(TCLSH) $(srcdir)/charconv.tcl -p marc8 $(srcdir)/codetables.xml -o $@.tmp + mv -f $@.tmp $@ # 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 marc8r.c + $(TCLSH) $(srcdir)/charconv.tcl -r -p marc8r $(srcdir)/codetables.xml -o $@.tmp + mv -f $@.tmp $@ # 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 iso5426.c + $(TCLSH) $(srcdir)/charconv.tcl -p iso5426 $(srcdir)/codetables-iso5426.xml -o $@.tmp + mv -f $@.tmp $@ # Generate OID database from CSV oid_std.c $(top_srcdir)/include/yaz/oid_std.h: oidtoc.tcl oid.csv @@ -102,7 +105,7 @@ libyaz_la_SOURCES=version.c options.c log.c \ record_conv.c retrieval.c elementset.c snprintf.c query-charset.c \ copy_types.c match_glob.c poll.c daemon.c \ iconv_encode_marc8.c iconv_encode_iso_8859_1.c iconv_encode_wchar.c \ - iconv_decode_marc8.c iconv_decode_iso5426.c sc.c + iconv_decode_marc8.c iconv_decode_iso5426.c iconv_decode_danmarc.c sc.c libyaz_la_LDFLAGS=-version-info $(YAZ_VERSION_INFO)