> There's probably a better way to do it, but I don't know how. At least
> this works.

Here's mine.  This is covered in man.conf(5).. :)

--- man.conf.orig       Wed Mar 26 15:52:28 2008
+++ man.conf    Wed Mar 26 16:21:48 2008
@@ -7,9 +7,11 @@
 _whatdb                /usr/share/man/whatis.db
 _whatdb                /usr/local/man/whatis.db
 _whatdb                /usr/X11R6/man/whatis.db
+_whatdb                /usr/local/lib/tcl8.4/man/whatis.db
+_whatdb                /usr/local/lib/tk8.4/man/whatis.db
 
 # Subdirectories for paths ending in '/', IN SEARCH ORDER.
-_subdir                cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat5 
man5 cat7 man7 cat4 man4 cat9 man9 cat3p man3p cat3f man3f
+_subdir                cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat5 
man5 cat7 man7 cat4 man4 cat9 man9 cat3p man3p cat3f man3f mann
 
 # Files typed by suffix and their commands.
 # Note the order: .Z must come after .[1-9n].Z, or it will match first.
@@ -33,17 +35,19 @@
 # directory with all of the subdirectories listed for the keyword _subdir.
 
 # default
-_default       /usr/{share,X11R6,local}/man/
+_default       /usr/{share,X11R6,local,local/lib/tcl8.4,local/lib/tk8.4}/man/
 
 # Other sections that represent complete man subdirectories.
 X11            /usr/X11R6/man/
 X11R6          /usr/X11R6/man/
 local          /usr/local/man/
+tcl            /usr/local/lib/tcl8.4/man/
+tk             /usr/local/lib/tk8.4/man/
 
 # Specific section/directory combinations.
-1              /usr/{share,X11R6,local}/man/{cat,man}1
+1              /usr/{share,X11R6,local,local/lib/{tcl,tk}8.4}/man/{cat,man}1
 2              /usr/{share,X11R6,local}/man/{cat,man}2
-3              /usr/{share,X11R6,local}/man/{cat,man}3
+3              /usr/{share,X11R6,local,local/lib/{tcl,tk}/man/{cat,man}3
 3F             /usr/local/man/{cat,man}3f
 3f             /usr/local/man/{cat,man}3f
 3P             /usr/{share,local}/man/{cat,man}3p
@@ -54,3 +58,4 @@
 7              /usr/{share,X11R6,local}/man/{cat,man}7
 8              /usr/{share,X11R6,local}/man/{cat,man}8
 9              /usr/share/man/{cat,man}9
+n              /usr/local/lib/{tcl,tk}8.4}/man/mann

Reply via email to