This patch enhances Tcl's build system to allow
compression manpages and symlinks for crosslinking the
manpages during installation.
Whether the manpages should be symlinked and/or
compressed is controled by two new options to configure:
--enable-symlinks works as a switch to turn on using
symlinks.
--enable-compression takes a mandatory argument which
is the program to use for compression (e.g. compress,
gzip, or bzip2). The file name extension for compressed
files gets detected by mkLinks.
In case this patch gets applied to Tcl, I'll also
create simmilar patches for Tk and other extensions
that cross-link their man pages.
Logged In: YES
user_id=124643
Corrected the category.
Logged In: YES
user_id=72656
don't we need a patch for Tk too?
Logged In: YES
user_id=124643
Yes, but I wanted to see whether this one would get accepted
for Tcl before starting the work for TK (see the last part
of my description above).
I can create the patche for Tk in a couple of hours if you
like to apply them at once.
Logged In: YES
user_id=124643
I've attached a slightly revised version of the patch. The
options are now named --enable-man-compression and
--enable-man-symlinks. I've also put the corresponding patch
for Tk here.
After applying the patches unix/configure and unix/mkLinks
have to be generated.
Logged In: YES
user_id=79902
Administrativa: Deleting attachments at request of rmax
Symlinked and compressed manpages for Tcl
Symlinked and compressed manpages for Tk
Logged In: YES
user_id=124643
Integrated in Tcl/Tk 8.4b1