Tcl Source Code

View Ticket
Login
Ticket UUID: 518052
Title: symlinked and compressed man pages
Type: Patch Version: None
Submitter: rmax Created on: 2002-02-15 17:45:59
Subsystem: 53. Configure and Build Tools Assigned To: rmax
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-06-26 20:03:31
Resolution: Fixed Closed By: rmax
    Closed on: 2002-06-26 13:03:31
Description:
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.
User Comments: rmax added on 2002-06-26 20:03:31:
Logged In: YES 
user_id=124643

Integrated in Tcl/Tk 8.4b1

rmax added on 2002-05-03 15:55:00:

File Added - 22378: tk-manpages.patch

rmax added on 2002-05-03 15:54:12:

File Added - 22377: tcl-manpages.patch

dkf added on 2002-05-03 15:51:12:

File Deleted - 22374: 

Logged In: YES 
user_id=79902

Administrativa: Deleting attachments at request of rmax

rmax added on 2002-05-03 14:47:33:
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.

rmax added on 2002-05-03 14:37:14:

File Added - 22374: tk-manpages.patch

rmax added on 2002-05-03 14:36:11:

File Added - 22373: tcl-manpages.patch

rmax added on 2002-04-23 13:30:05:
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.

hobbs added on 2002-04-23 06:34:05:
Logged In: YES 
user_id=72656

don't we need a patch for Tk too?

rmax added on 2002-02-16 00:48:45:
Logged In: YES 
user_id=124643

Corrected the category.

rmax added on 2002-02-16 00:46:41:

File Added - 17924: manpages.patch

Attachments: