Check-in [4188e0f58f]

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

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

Overview
Comment:Updated text of tip495
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:4188e0f58ff7912f7ca904c572a38e94c04bc94c0bef9c37c49fff1a675b1dec
User & Date: hypnotoad 2018-10-28 07:13:33
Context
2018-10-28
16:27
Noted which branch has the TIP 524 implementation check-in: 58b7a0bed5 user: dkf tags: trunk
07:13
Updated text of tip495 check-in: 4188e0f58f user: hypnotoad tags: trunk
2018-10-27
17:28
Editorial pass for TIP 523 check-in: 21f784d0d3 user: dkf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tip/495.md.

84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
...
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203



## tcllib (and other large libraries)

Projects such as tcllib which contain many modules, and are unlikely to be installed
whole inside of a tclkit, will be given additional make directives:

1. **module-list** - Return a list of modules
2. **module-install** *destination* *module|all* *?module?...*- Install named modules
to the destination. Unlike the standard installation, this method does not place the
module inside of a versioned package/module file structure. The module is simply dropped
as either a .tm file for directory with the module's name and a pkgIndex.tcl file, within
the directory specified.

## config.tcl

................................................................................
        }

        # Process command line
        switch [lindex $argv 0] {
          install {
            # Ensure the library is compiled
            LIBRARY make depends library doc
          # Make do acts on all of the steps computed by
          # make depends
          LIBRARY make do
          # Project specific installation procedure
          }
          info {
            # Output information that integrators need
            set dat [LIBRARY target pkginfo]
            foreach {field value} $dat {
              puts [list $field: $value]
          }
          exit 0
          }
          teapot {
            # Ensure the library is compiled
            LIBRARY make depends library
          LIBRARY make do
          # Code to generate teapot distribution
          }
          default {
          # Work like a makefile and trigger build targets
          # Unlike a standard makefile "trigger" will re-kick
          # off any indicated steps
          LIBRARY make trigger {*}$argv
          LIBRARY make do
          }
        }

# More Info

*This is a work in progress.*

The Practcl module is now in Tcllib [Practcl project](https://core.tcl-lang.org/tcllib/doc/trunk/embedded/www/tcllib/files/modules/practcl/practcl.html).









|







 







|
|
|
|






|
|




|
|


|
|
|
|
|





|

|
>
>
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
...
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205

## tcllib (and other large libraries)

Projects such as tcllib which contain many modules, and are unlikely to be installed
whole inside of a tclkit, will be given additional make directives:

1. **module-list** - Return a list of modules
2. **module-install** *destination* **?all?** *?module?* *?module?...*- Install named modules
to the destination. Unlike the standard installation, this method does not place the
module inside of a versioned package/module file structure. The module is simply dropped
as either a .tm file for directory with the module's name and a pkgIndex.tcl file, within
the directory specified.

## config.tcl

................................................................................
        }

        # Process command line
        switch [lindex $argv 0] {
          install {
            # Ensure the library is compiled
            LIBRARY make depends library doc
            # Make do acts on all of the steps computed by
            # make depends
            LIBRARY make do
            # Project specific installation procedure
          }
          info {
            # Output information that integrators need
            set dat [LIBRARY target pkginfo]
            foreach {field value} $dat {
              puts [list $field: $value]
            }
            exit 0
          }
          teapot {
            # Ensure the library is compiled
            LIBRARY make depends library
            LIBRARY make do
            # Code to generate teapot distribution
          }
          default {
            # Work like a makefile and trigger build targets
            # Unlike a standard makefile "trigger" will re-kick
            # off any indicated steps
            LIBRARY make trigger {*}$argv
            LIBRARY make do
          }
        }

# More Info

The Practcl module is now in Tcllib [Practcl project](https://core.tcl-lang.org/tcllib/doc/trunk/embedded/www/tcllib/files/modules/practcl/practcl.html).

A version of the Tcl Sample Extension has been re-worked to utilize practcl. [Sample Extension](https://core.tcl-lang.org/sampleextension/timeline?n=100&r=practcl)

A version of the Tcl Sample Extension has been re-worked to utilize practcl and autosetup. [Sample Extension](https://core.tcl-lang.org/sampleextension/timeline?n=100&r=autosetup)