Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Merge stu-pkgIndex2. Implements a solution for when the shared object and the pkgIndex.tcl reside in different dirs during build/test. Fixes [625f0ee464]. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2386d26cfb8a34c36abcf9a0ff4f5cd7 |
User & Date: | stu 2018-01-05 05:52:29 |
References
2018-01-05
| ||
05:56 | • Closed ticket [625f0ee464]: Disable writing to build-dir at install time plus 5 other changes artifact: 346b717f66 user: stu | |
Context
2018-07-01
| ||
05:12 | Update to latest TEA. check-in: c626278762 user: stu tags: trunk | |
2018-01-05
| ||
05:52 | Merge stu-pkgIndex2. Implements a solution for when the shared object and the pkgIndex.tcl reside in different dirs during build/test. Fixes [625f0ee464]. check-in: 2386d26cfb user: stu tags: trunk | |
05:38 | Merge trunk. Closed-Leaf check-in: 8d7e50c2f8 user: stu tags: stu-pkgIndex2 | |
2018-01-04
| ||
08:39 | Use INSTALL_* and new DIST_INSTALL_* macros to make dist. Align with latest TEA. check-in: 8886c1d546 user: stu tags: trunk | |
Changes
Changes to Makefile.in.
︙ | ︙ | |||
57 58 59 60 61 62 63 | # configuration options) composed of the named objects. #======================================================================== PKG_LIB_FILE = @PKG_LIB_FILE@ PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@ lib_BINARIES = $(PKG_LIB_FILE) $(PKG_STUB_LIB_FILE) | | | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | # configuration options) composed of the named objects. #======================================================================== PKG_LIB_FILE = @PKG_LIB_FILE@ PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@ lib_BINARIES = $(PKG_LIB_FILE) $(PKG_STUB_LIB_FILE) BINARIES = $(lib_BINARIES) SHELL = @SHELL@ srcdir = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ |
︙ | ︙ | |||
234 235 236 237 238 239 240 | done @list='$(srcdir)/doc/*.n'; for i in $$list; do \ echo "Installing $$i"; \ $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \ done test: binaries libraries | | < < | 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | done @list='$(srcdir)/doc/*.n'; for i in $$list; do \ echo "Installing $$i"; \ $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \ done test: binaries libraries $(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) shell: binaries libraries @$(TCLSH) $(SCRIPT) gdb: $(TCLSH_ENV) gdb $(TCLSH_PROG) $(SCRIPT) |
︙ | ︙ | |||
276 277 278 279 280 281 282 | $(RANLIB) $(PKG_LIB_FILE) $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS) -rm -f $(PKG_STUB_LIB_FILE) ${MAKE_STUB_LIB} $(RANLIB_STUB) $(PKG_STUB_LIB_FILE) | < < < < < < < | 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | $(RANLIB) $(PKG_LIB_FILE) $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS) -rm -f $(PKG_STUB_LIB_FILE) ${MAKE_STUB_LIB} $(RANLIB_STUB) $(PKG_STUB_LIB_FILE) #======================================================================== # We need to enumerate the list of .c to .o lines here. # # In the following lines, $(srcdir) refers to the toplevel directory # containing your extension. If your sources are in a subdirectory, # you will have to modify the paths to reflect this: # |
︙ | ︙ |
Changes to configure.
︙ | ︙ | |||
5765 5766 5767 5768 5769 5770 5771 | # Add pkgIndex.tcl if it is generated in the Makefile instead of ./configure # and change Makefile.in to move it from CONFIG_CLEAN_FILES to BINARIES var. # # A few miscellaneous platform-specific items: # TEA_ADD_* any platform specific compiler/build info here. #-------------------------------------------------------------------- | | | 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 | # Add pkgIndex.tcl if it is generated in the Makefile instead of ./configure # and change Makefile.in to move it from CONFIG_CLEAN_FILES to BINARIES var. # # A few miscellaneous platform-specific items: # TEA_ADD_* any platform specific compiler/build info here. #-------------------------------------------------------------------- #CLEANFILES="$CLEANFILES pkgIndex.tcl" #-------------------------------------------------------------------- # Choose which headers you need. Extension authors should try very # hard to only rely on the Tcl public header files. Internal headers # contain private data structures and are subject to change without # notice. # This MUST be called after TEA_LOAD_TCLCONFIG / TEA_LOAD_TKCONFIG |
︙ | ︙ |
Changes to configure.ac.
︙ | ︙ | |||
108 109 110 111 112 113 114 | # Add pkgIndex.tcl if it is generated in the Makefile instead of ./configure # and change Makefile.in to move it from CONFIG_CLEAN_FILES to BINARIES var. # # A few miscellaneous platform-specific items: # TEA_ADD_* any platform specific compiler/build info here. #-------------------------------------------------------------------- | | | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | # Add pkgIndex.tcl if it is generated in the Makefile instead of ./configure # and change Makefile.in to move it from CONFIG_CLEAN_FILES to BINARIES var. # # A few miscellaneous platform-specific items: # TEA_ADD_* any platform specific compiler/build info here. #-------------------------------------------------------------------- #CLEANFILES="$CLEANFILES pkgIndex.tcl" #-------------------------------------------------------------------- # Choose which headers you need. Extension authors should try very # hard to only rely on the Tcl public header files. Internal headers # contain private data structures and are subject to change without # notice. # This MUST be called after TEA_LOAD_TCLCONFIG / TEA_LOAD_TKCONFIG |
︙ | ︙ |
Changes to pkgIndex.tcl.in.
1 2 3 4 5 6 7 8 | # Index file to load the TDBC package. # Make sure that TDBC is running in a compatible version of Tcl, and # that TclOO is available. if {[catch {package present Tcl @TCL_VERSION_REQ@}]} { return } | > > > > > | | | | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Index file to load the TDBC package. # Make sure that TDBC is running in a compatible version of Tcl, and # that TclOO is available. if {[catch {package present Tcl @TCL_VERSION_REQ@}]} { return } apply {{dir} { set libraryfile [file join $dir @[email protected]] if {![file exists $libraryfile] && [info exists ::env(TDBC_LIBRARY)]} { set libraryfile [file join $::env(TDBC_LIBRARY) @[email protected]] } package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ \ "package require TclOO @TCLOO_VERSION_REQ@-;\ [list load [file join $dir @PKG_LIB_FILE@] @PACKAGE_NAME@]\;\ [list source $libraryfile]" }} $dir |