Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/idzebra
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 15 Dec 2011 09:21:28 +0000 (10:21 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 15 Dec 2011 09:21:28 +0000 (10:21 +0100)
util/mk_version.tcl
win/makefile

index 4bee1a4..9aee3c0 100644 (file)
@@ -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
 
index f81549b..84906e6 100644 (file)
@@ -344,9 +344,9 @@ LINK_PROGRAM= $(LINK) \
 # Generated sources
 generate: $(INCLDIR)\idzebra\version.h
 
-$(INCLDIR)\idzebra\version.h:
+$(INCLDIR)\idzebra\version.h: $(ROOTDIR)/IDMETA 
        @cd $(ROOTDIR)\util
-       $(TCL) mk_version.tcl $(ROOTDIR)/configure.ac $(INCLDIR)\idzebra\version.h
+       $(TCL) mk_version.tcl $(ROOTDIR)/IDMETA $(INCLDIR)\idzebra\version.h
 
 # Source and object modules
 # Note: Ordinary source files are not specified here at