diff --git a/Makefile.in b/Makefile.in index 65187cea44..f25a886aa6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 index 0000000000..d3827e75a5 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0 diff --git a/manifest b/manifest index b3b44ccd92..7670688db7 100644 --- 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 diff --git a/manifest.uuid b/manifest.uuid index 57adeab56f..f1272b58eb 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -897b4bc0e92a2c7534d4fa9453a7f8f863fce67a \ No newline at end of file +5ec2b094781bb3c32b0ef0284aa4dc2b26d9e873 \ No newline at end of file diff --git a/src/sqlite.h b/src/sqlite.h.in similarity index 97% rename from src/sqlite.h rename to src/sqlite.h.in index c05512ce66..0056c0d2fa 100644 --- a/src/sqlite.h +++ b/src/sqlite.h.in @@ -24,11 +24,17 @@ ** 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. diff --git a/www/changes.tcl b/www/changes.tcl index f5ffc41b65..f4e71c924a 100644 --- a/www/changes.tcl +++ b/www/changes.tcl @@ -17,7 +17,7 @@ proc chng {date desc} { puts "
}
puts "This page was last modified on [lrange $rcsid 3 4] GMT
"
-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 $vers"
+puts " created on [exec cat last_change] GMT"
puts {
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 sqlite.tar.gz.} -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 {
To build sqlite under Unix, just unwrap the tarball, create a separate