Documentation Source Text

Check-in [8e290154f5]
Login

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

Overview
Comment:Include the TCL include path when building the searchdb target.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8e290154f54669ca4d32d74ba82ed93a651c1e06
User & Date: drh 2016-08-29 18:57:49
Context
2016-08-29
20:22
Use the same "tclsh.docsrc" binary for everything. check-in: ddb4bf4fcf user: drh tags: trunk
18:57
Include the TCL include path when building the searchdb target. check-in: 8e290154f5 user: drh tags: trunk
18:40
New improvements to the opcode documentation. check-in: dd15111c6a user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to main.mk.

147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
SSRC = $(DOC)/search/searchc.c \
	    $(DOC)/search/parsehtml.c \
	    $(DOC)/search/fts5ext.c \
	    $(TCLSQLITE3C)

# Flags to build [tclsqlite3.search] with.
#
SFLAGS = -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_FTS5

tclsqlite3.search: $(SSRC)
	$(CC) -static -O2 -o $@ -I. $(SFLAGS) $(SSRC) $(STATICTCLFLAGS)

searchdb: tclsqlite3.search
	./tclsqlite3.search $(DOC)/search/buildsearchdb.tcl
	cp $(DOC)/document_header.tcl doc/document_header.tcl







|







147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
SSRC = $(DOC)/search/searchc.c \
	    $(DOC)/search/parsehtml.c \
	    $(DOC)/search/fts5ext.c \
	    $(TCLSQLITE3C)

# Flags to build [tclsqlite3.search] with.
#
SFLAGS = $(TCLINC) -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_FTS5

tclsqlite3.search: $(SSRC)
	$(CC) -static -O2 -o $@ -I. $(SFLAGS) $(SSRC) $(STATICTCLFLAGS)

searchdb: tclsqlite3.search
	./tclsqlite3.search $(DOC)/search/buildsearchdb.tcl
	cp $(DOC)/document_header.tcl doc/document_header.tcl