projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5634c61
)
mk_version.tcl gets version from IDMETA
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 15 Dec 2011 09:17:21 +0000
(10:17 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 15 Dec 2011 09:17:21 +0000
(10:17 +0100)
It's a month ago we moved version from configure.ac to IDMETA, but
mk_version.tcl is only used on Windows.
src/mk_version.tcl
patch
|
blob
|
history
diff --git
a/src/mk_version.tcl
b/src/mk_version.tcl
index
4bee1a4
..
9aee3c0
100644
(file)
--- a/
src/mk_version.tcl
+++ b/
src/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