X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Fmk_version.tcl;h=9aee3c0f919165d9059d5ff4175963cbf6bfd663;hp=4bee1a42fac63e291acc89a85230dbc61c522e25;hb=e4c6861efeeea654bfb00c5f0239ee258629d77f;hpb=a02be6c13a7353e7b2fba65a1faab1c6819d1728 diff --git a/util/mk_version.tcl b/util/mk_version.tcl index 4bee1a4..9aee3c0 100644 --- a/util/mk_version.tcl +++ b/util/mk_version.tcl @@ -1,7 +1,7 @@ #!/usr/bin/tclsh proc usage {} { - puts {mk_version.tcl [-v] configure.ac infile ..} + puts {mk_version.tcl [-v] IDMETA infile ..} exit 1 } @@ -35,7 +35,7 @@ while {1} { if {$cnt < 0} { break } - regexp {AC_INIT\([^,]+,\[([0-9.]+)\]} $line s version + regexp {VERSION=([0-9.]+)} $line s version } close $f