Documentation Source Text

Check-in [e982745da1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update the documentation makefile to use mksqlite3h.tcl rather than trying to process sqlite.h.in on its own.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e982745da170bbba3723dbea3e9902770f58e6b5
User & Date: drh 2009-08-14 18:43:52.000
Context
2009-08-19
13:52
Miscellaneous documentation enhancements and cleanup. (check-in: 31954ec184 user: drh tags: trunk)
2009-08-14
18:43
Update the documentation makefile to use mksqlite3h.tcl rather than trying to process sqlite.h.in on its own. (check-in: e982745da1 user: drh tags: trunk)
18:28
Add documentation for the sqlite_source_id() SQL function. (check-in: ad4301a8a1 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to main.mk.
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Once the macros above are defined, the rest of this make script will
# build the SQLite library and testing tools.
################################################################################

all:	doc

sqlite3.h:	$(SRC)/src/sqlite.h.in 
	sed -e s/--VERS--/`cat ${SRC}/VERSION`/ \
	    -e s/--VERSION-NUMBER--/`cat ${SRC}/VERSION | \
	sed 's/[^0-9]/ /g' | \
	$(NAWK) '{printf "%d%03d%03d",$$1,$$2,$$3}'`/ \
		$(SRC)/src/sqlite.h.in >sqlite3.h

wrap.tcl:	$(DOC)/wrap.tcl
	cp $(DOC)/wrap.tcl .

docdir:
	mkdir -p doc doc/c3ref








|
<
<
|
<
|







11
12
13
14
15
16
17
18


19

20
21
22
23
24
25
26
27
#
# Once the macros above are defined, the rest of this make script will
# build the SQLite library and testing tools.
################################################################################

all:	doc

sqlite3.h:	$(SRC)/src/sqlite.h.in $(SRC)/manifest.uuid $(SRC)/VERSION


	tclsh $(SRC)/tool/mksqlite3h.tcl $(SRC) | \

	sed 's/^SQLITE_API //' >sqlite3.h

wrap.tcl:	$(DOC)/wrap.tcl
	cp $(DOC)/wrap.tcl .

docdir:
	mkdir -p doc doc/c3ref