]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
add version numbering (CVS 132)
authordrh <drh@noemail.net>
Thu, 17 Aug 2000 10:22:34 +0000 (10:22 +0000)
committerdrh <drh@noemail.net>
Thu, 17 Aug 2000 10:22:34 +0000 (10:22 +0000)
FossilOrigin-Name: 5ec2b094781bb3c32b0ef0284aa4dc2b26d9e873

Makefile.in
VERSION [new file with mode: 0644]
manifest
manifest.uuid
src/sqlite.h.in [moved from src/sqlite.h with 97% similarity]
www/changes.tcl
www/index.tcl

index 65187cea4400c2b4ee9518e11bd12478132f147c..f25a886aa6c577efc19f344b0c09c703c2949435 100644 (file)
@@ -64,7 +64,7 @@ SRC = \
   $(TOP)/src/parse.y \
   $(TOP)/src/select.c \
   $(TOP)/src/shell.c \
-  $(TOP)/src/sqlite.h \
+  $(TOP)/src/sqlite.h.in \
   $(TOP)/src/sqliteInt.h \
   $(TOP)/src/tclsqlite.c \
   $(TOP)/src/tokenize.c \
@@ -77,7 +77,7 @@ SRC = \
 # This is the default Makefile target.  The objects listed here
 # are what get build when you type just "make" with no arguments.
 #
-all:   libsqlite.a sqlite.h sqlite 
+all:   sqlite.h libsqlite.a sqlite 
 
 # Generate the file "last_change" which contains the date of change
 # of the most recently modified source code file
@@ -103,7 +103,7 @@ lemon:      $(TOP)/tool/lemon.c $(TOP)/tool/lempar.c
 # Header files used by all library source files.
 #
 HDR = \
-   $(TOP)/src/sqlite.h  \
+   sqlite.h  \
    $(TOP)/src/sqliteInt.h  \
    $(TOP)/src/dbbe.h  \
    $(TOP)/src/vdbe.h  \
@@ -127,8 +127,8 @@ parse.c:    $(TOP)/src/parse.y lemon
        cp $(TOP)/src/parse.y .
        ./lemon parse.y
 
-sqlite.h:      $(TOP)/src/sqlite.h
-       cp $(TOP)/src/sqlite.h .
+sqlite.h:      $(TOP)/src/sqlite.h.in
+       sed s/--VERS--/`cat ${TOP}/VERSION`/ $(TOP)/src/sqlite.h.in >sqlite.h
 
 tokenize.o:    $(TOP)/src/tokenize.c $(HDR)
        $(TCC) $(GDBM_FLAGS) -c $(TOP)/src/tokenize.c
@@ -171,7 +171,7 @@ sqlite.tar.gz:
        pwd=`pwd`; cd $(TOP)/..; tar czf $$pwd/sqlite.tar.gz sqlite
 
 index.html:    $(TOP)/www/index.tcl sqlite.tar.gz last_change
-       tclsh $(TOP)/www/index.tcl >index.html
+       tclsh $(TOP)/www/index.tcl `cat $(TOP)/VERSION` >index.html
 
 sqlite.html:   $(TOP)/www/sqlite.tcl
        tclsh $(TOP)/www/sqlite.tcl >sqlite.html
diff --git a/VERSION b/VERSION
new file mode 100644 (file)
index 0000000..d3827e7
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+1.0
index b3b44ccd92a901df09fc89b7bbd08341bfaf4096..7670688db78e57d403d56d335427cf7082715f48 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,8 +1,9 @@
-C allow\sreadonly\saccess\swhen\swrite\spermission\sdenied\s(CVS\s131)
-D 2000-08-17T09:50:00
+C add\sversion\snumbering\s(CVS\s132)
+D 2000-08-17T10:22:34
 F COPYRIGHT 74a8a6531a42e124df07ab5599aad63870fa0bd4
-F Makefile.in 670aa9413cb2cdcded23b328a9e255c845c41a1e
+F Makefile.in 8a4cc1bdcbb870f76d0c769136cf973af07586a4
 F README 51f6a4e7408b34afa5bc1c0485f61b6a4efb6958
+F VERSION 61652cd1568dcf2614df833eba241755eee34e89
 F configure 51063d594190fa085f909cefc9427241088bec4f x
 F configure.in a04f02ba61ed09a00e862b4f78b91b06a559e0b5
 F doc/lemon.html e233a3e97a779c7a87e1bc4528c664a58e49dd47
@@ -17,7 +18,7 @@ F src/parse.y 5d199034de5d29ebedb42c1c51f34db4df40cbe5
 F src/select.c d382e96c2221d08367cc87976f2b574537c9de97
 F src/shell.c 0aabf9e5e89fc8ac7a56de7f05255ed6864170f2
 F src/shell.tcl 27ecbd63dd88396ad16d81ab44f73e6c0ea9d20e
-F src/sqlite.h 82ae53028e27919250f886ff9d7c4927de81978a
+F src/sqlite.h.in fe04454ae51f9f3717179ffe5a10a25874643ced
 F src/sqliteInt.h f6d1e139b3bfa4ceff2136684e19d76b53178ec0
 F src/tclsqlite.c 89dc4ba2b521f3e919d6d7aaa4cc1c2aba8e16f3
 F src/tokenize.c 097bec5843d4a0fb4509e036fee93bac080c5e73
@@ -60,16 +61,16 @@ F www/arch.fig 4e26e9dca3c49724fc8f554c695ddea9f2413156
 F www/arch.png c4d908b79065a72e7dcf19317f36d1324c550e87
 F www/arch.tcl 4f6a9afecc099a27bba17b4f8cc9561abc15dc40
 F www/c_interface.tcl 29593cf77025bab137b7ba64b9459eb5eb6b4873
-F www/changes.tcl ebea5c4eeeb210d118d002a2fbc84c8fba5af7e2
+F www/changes.tcl 32a1a09297095ffa3e49473732e4b60fc6cdc7c1
 F www/crosscompile.tcl 19734ce7f18b16ff2ed8479412abf8aca56e1dcc
 F www/fileformat.tcl cfb7fba80b7275555281ba2f256c00734bcdd1c9
-F www/index.tcl 421bcabc6839eb00698b75b169caa8a559454515
+F www/index.tcl 6dae7e07d110ce06c327223365dc1b475b4fb6ee
 F www/lang.tcl 9192e114b19987e630a41e879585b87006eb84a1
 F www/mingw.tcl fc5f4ba9d336b6e8c97347cc6496d6162461ef60
 F www/opcode.tcl cb3a1abf8b7b9be9f3a228d097d6bf8b742c2b6f
 F www/sqlite.tcl cb0d23d8f061a80543928755ec7775da6e4f362f
 F www/vdbe.tcl bcbfc33bcdd0ebad95eab31286adb9e1bc289520
-P e8882dac2306afbc7bffdaa93c9a7fc45fdbd8e1
-R 84cf4ce23b5394480238cc25bd273361
+P 897b4bc0e92a2c7534d4fa9453a7f8f863fce67a
+R 55d9f580b0fd85533f8ccc00b91b305d
 U drh
-Z 4e8cb91c77f87e4664b844fede982b96
+Z 59dba504407521b2a684591dbcb8b530
index 57adeab56f0cd0c10086c1a94338516e8478e32d..f1272b58eb7e52dca2746deedcc1fece3e972c94 100644 (file)
@@ -1 +1 @@
-897b4bc0e92a2c7534d4fa9453a7f8f863fce67a
\ No newline at end of file
+5ec2b094781bb3c32b0ef0284aa4dc2b26d9e873
\ No newline at end of file
similarity index 97%
rename from src/sqlite.h
rename to src/sqlite.h.in
index c05512ce66e5078a017d28e344a4b140e6ce5b4d..0056c0d2fabfc8bad49e3f1389d941eb517ae48d 100644 (file)
 ** This header file defines the interface that the sqlite library
 ** presents to client programs.
 **
-** @(#) $Id: sqlite.h,v 1.4 2000/07/28 14:32:50 drh Exp $
+** @(#) $Id: sqlite.h.in,v 1.1 2000/08/17 10:22:34 drh Exp $
 */
 #ifndef _SQLITE_H_
 #define _SQLITE_H_
 
+/*
+** The version of the SQLite library
+*/
+#define SQLITE_VERSION          --VERS--
+#define SQLITE_VERSION_STRING  "--VERS--"
+
 /*
 ** Each open sqlite database is represented by an instance of the
 ** following opaque structure.
index f5ffc41b6579285838f8db648603897dabc741bf..f4e71c924a07c76737ff57dcc43bff24724819df 100644 (file)
@@ -17,7 +17,7 @@ proc chng {date desc} {
   puts "<DD><P><UL>$desc</UL></P></DD>"
 }
 
-chng {2000 Aug 17} {
+chng {2000 Aug 17 (Version 1.0)} {
 <li>Change the <b>sqlite</b> program so that it can read
     databases for which it lacks write permission.  (It used to
     refuse all access if it could not write.)</li>
index 44ee66d5e75fac044b420bfb260e8276505aa35b..053311b9a9ab105d2d209d84c1235db3240ca0dc 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Run this TCL script to generate HTML for the index.html file.
 #
-set rcsid {$Id: index.tcl,v 1.26 2000/08/04 13:49:03 drh Exp $}
+set rcsid {$Id: index.tcl,v 1.27 2000/08/17 10:22:34 drh Exp $}
 
 puts {<html>
 <head><title>SQLite: An SQL Database Engine Built Atop GDBM</title></head>
@@ -10,7 +10,9 @@ puts {<html>
 <a href="http://www.gnu.org/software/gdbm/gdbm.html">GDBM</a></h1>
 <p align=center>}
 puts "This page was last modified on [lrange $rcsid 3 4] GMT<br>"
-puts "The SQLite source code was last modifed on [exec cat last_change] GMT"
+set vers [lindex $argv 0]
+puts "The latest SQLite version is <b>$vers</b>"
+puts " created on [exec cat last_change] GMT"
 puts {</p>}
 
 puts {<h2>Introduction</h2>
@@ -126,10 +128,13 @@ Click to subscribe to sqlite</a>
 puts {<h2>Download</h2>
 
 <p>You can download a tarball containing all source
-code for SQLite (including the TCL scripts that generate the
+code for SQLite
+}
+puts "version $vers"
+puts {
+(including the TCL scripts that generate the
 HTML files for this website) at <a href="sqlite.tar.gz">sqlite.tar.gz</a>.}
-puts "This is a [file size sqlite.tar.gz] byte download.  The
-tarball was last modified at [clock format [file mtime sqlite.tar.gz]]"
+puts "This is a [file size sqlite.tar.gz] byte download."
 puts {</p>
 
 <p>To build sqlite under Unix, just unwrap the tarball, create a separate