Tcl Source Code

View Ticket
Login
Ticket UUID: 996085
Title: Improve manpage installation
Type: Patch Version: None
Submitter: rmax Created on: 2004-07-22 18:30:41
Subsystem: 53. Configure and Build Tools Assigned To: rmax
Priority: 6 Severity:
Status: Closed Last Modified: 2004-11-18 23:10:12
Resolution: None Closed By: rmax
    Closed on: 2004-11-18 16:10:12
Description:
The attached patch removes the need to generate the
mklinks shell script, and adds a --enable-man-prefix
switch to configure, that allows to prefix all manpages
with e.g. tcl_ to avoid name clashes.

The patch is against 8.4.6.
User Comments: rmax added on 2004-11-18 23:10:12:
Logged In: YES 
user_id=124643

The autoconf docu says that --with-* switches are for adding
external packages, and --enable-* for additional features,
and I think the manpage suffix thing is an optional feature
rather than an external papckage.

The change is in 8.4.8, and 8.5a2 now, BTW.

dkf added on 2004-11-18 21:25:38:
Logged In: YES 
user_id=79902

Should it be --with-man-suffix=??? instead of
--enable-man-suffix=???

hobbs added on 2004-11-18 01:18:54:
Logged In: YES 
user_id=72656

Please apply to 8-4-branch and 8.5a2/3 for Tcl and Tk.

rmax added on 2004-07-23 14:28:16:

File Added - 94950: tcl-manpages-3.patch

rmax added on 2004-07-23 14:25:17:

File Added - 94949: tk-manpages.patch

Logged In: YES 
user_id=124643

Oops - how could I forget Tk :(

Of course I have such a patch in my Tk package, too.
I have updated it for 8.4.7, and added the fixes that went
into the tcl patch yesterday. I am attaching it here rather
than creating a separate item in the Tk tracker to keep them
together.

I'll also update the Tcl patch once more, because of a
little addition I had to make to the sed script inside
installManPages for Tk, and I want installManPages to be
identical for Tcl and Tk.

hobbs added on 2004-07-23 05:43:17:
Logged In: YES 
user_id=72656

this would need to be applied for Tk as well in some form,
correct?

rmax added on 2004-07-23 04:02:40:
Logged In: YES 
user_id=124643

The updated patch should fix this.
It is against core-8-4-branch.

rmax added on 2004-07-23 03:58:44:

File Added - 94899: tcl-manpages-2.patch

hobbs added on 2004-07-23 02:08:59:
Logged In: YES 
user_id=72656

This fails with things like:

Installing and cross-linking C API (.3) docs
ln: accessing `Tcl_Access.3': No such file or directory

This will not be considered for 8.4.7 - let's try this in 8.5.

hobbs added on 2004-07-23 02:04:57:
Logged In: YES 
user_id=72656

I assume this obsoletes mkLinks completely, and what about
the mkLinks.tcl file (that too, right)?

rmax added on 2004-07-23 01:30:42:

File Added - 94884: tcl-manpages.patch

Attachments: