tdbc::sqlite3

Check-in [9b46a04a21]
Login

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

Overview
Comment:Add $(TDBC_BIN_DIR) to $(TCLLIBPATH) and remove [package ifneeded] script for tdbc from the test target. See https://core.tcl.tk/tdbc/info/c5f7bcffcb626767.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | stu-pkgIndex
Files: files | file ages | folders
SHA3-256:9b46a04a21719ce1d0116fb3f747e3e588b721533156e00411c12284dfa46483
User & Date: stu 2017-12-16 23:06:29
Context
2017-12-17
15:45
Merge trunk check-in: 8a8bfe890e user: stu tags: stu-pkgIndex
2017-12-16
23:06
Add $(TDBC_BIN_DIR) to $(TCLLIBPATH) and remove [package ifneeded] script for tdbc from the test target. See https://core.tcl.tk/tdbc/info/c5f7bcffcb626767. check-in: 9b46a04a21 user: stu tags: stu-pkgIndex
04:14
Kill useless messages in doc target. check-in: 41ee262473 user: stu tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.in.

103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
...
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# package without installing.  The other environment variables allow us
# to test against an uninstalled Tcl.  Add special env vars that you
# require for testing here (like TCLX_LIBRARY).
#========================================================================

EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR)
#EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR):$(TK_BIN_DIR)
TCLLIBPATH	= $(top_builddir)
TCLSH_ENV	= TCL_LIBRARY=`@CYGPATH@ $(TCL_SRC_DIR)/library`
PKG_ENV		= PATH="$(EXTRA_PATH):$(PATH)" \
		  TCLLIBPATH="$(TCLLIBPATH)"

TCLSH_PROG	= @TCLSH_PROG@
TCLSH   	= $(PKG_ENV) $(TCLSH_ENV) $(TCLSH_PROG)

................................................................................
# at least one version of msys make replaces the slashes in the
# $(srcdir)/library/tdbcsqlite3.tcl path with backslashes, causing
# the [package ifneeded] to fail. Leave it in, even though it's
# spurious.
test: libraries
	$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) -load \
		"package ifneeded tdbc::sqlite3 $(PACKAGE_VERSION) \
			[list source `@CYGPATH@ $(srcdir)/library/tdbcsqlite3.tcl`];\
		package ifneeded tdbc ${TDBC_VERSION} \
			[list source `@CYGPATH@ $(TDBC_BIN_DIR)/tdbc.tcl`]\;[list load `@CYGPATH@ $(TDBC_BIN_DIR)/$(TDBC_LIB_FILE)` tdbc]"

shell: libraries
	@$(TCLSH) $(SCRIPT)

gdb:
	$(TCLSH_ENV) gdb $(TCLSH_PROG) $(SCRIPT)








|







 







|
<
<







103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
...
179
180
181
182
183
184
185
186


187
188
189
190
191
192
193
# package without installing.  The other environment variables allow us
# to test against an uninstalled Tcl.  Add special env vars that you
# require for testing here (like TCLX_LIBRARY).
#========================================================================

EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR)
#EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR):$(TK_BIN_DIR)
TCLLIBPATH	= $(top_builddir) $(TDBC_BIN_DIR)
TCLSH_ENV	= TCL_LIBRARY=`@CYGPATH@ $(TCL_SRC_DIR)/library`
PKG_ENV		= PATH="$(EXTRA_PATH):$(PATH)" \
		  TCLLIBPATH="$(TCLLIBPATH)"

TCLSH_PROG	= @TCLSH_PROG@
TCLSH   	= $(PKG_ENV) $(TCLSH_ENV) $(TCLSH_PROG)

................................................................................
# at least one version of msys make replaces the slashes in the
# $(srcdir)/library/tdbcsqlite3.tcl path with backslashes, causing
# the [package ifneeded] to fail. Leave it in, even though it's
# spurious.
test: libraries
	$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) -load \
		"package ifneeded tdbc::sqlite3 $(PACKAGE_VERSION) \
			[list source `@CYGPATH@ $(srcdir)/library/tdbcsqlite3.tcl`]"



shell: libraries
	@$(TCLSH) $(SCRIPT)

gdb:
	$(TCLSH_ENV) gdb $(TCLSH_PROG) $(SCRIPT)