Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Improve manpage installation

Closed996085ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-07-22 18:30:41
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.
rmaxplain2004-07-23 01:30:42
File Added - 94884: tcl-manpages.patch
hobbsplain2004-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)?
hobbsplain2004-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.
rmaxplain2004-07-23 03:58:44
File Added - 94899: tcl-manpages-2.patch
rmaxplain2004-07-23 04:02:40
Logged In: YES 
user_id=124643

The updated patch should fix this.
It is against core-8-4-branch.
hobbsplain2004-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?
rmaxplain2004-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.
rmaxplain2004-07-23 14:28:16
File Added - 94950: tcl-manpages-3.patch
hobbsplain2004-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.
dkfplain2004-11-18 21:25:38
Logged In: YES 
user_id=79902

Should it be --with-man-suffix=??? instead of
--enable-man-suffix=???
rmax Closed ticket [996085ffff]. [History diff]2004-11-18 23:10:11
rmaxplain2004-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.
Log in (anonymous is fine) to add a comment.

Attachments: