Fixed bug #2068: pkg-config trouble.
[yaz-moved-to-github.git] / src / csvtobib1.tcl
1 #!/usr/bin/tclsh
2 #
3 # This file is part of the YAZ toolkit
4 # Copyright (c) Index Data 1996-2007
5 # See the file LICENSE for details.
6 #
7 # $Id: csvtobib1.tcl,v 1.5 2008-01-06 13:02:48 adam Exp $
8 #
9 # Converts a CSV file with Bib-1 diagnostics to C+H file for easy
10 # maintenance
11 #
12 # $Id: csvtobib1.tcl,v 1.5 2008-01-06 13:02:48 adam Exp $
13
14 source [lindex $argv 0]/csvtodiag.tcl
15
16 csvtodiag [list [lindex $argv 0]/bib1.csv diagbib1.c [lindex $argv 0]/../include/yaz/diagbib1.h] bib1 diagbib1_str