Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7401 - doman script should be more intelligent
Summary: doman script should be more intelligent
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 8652
  Show dependency tree
 
Reported: 2002-09-03 01:54 UTC by Seemant Kulleen (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated file (doman,2.54 KB, text/plain)
2002-10-24 15:20 UTC, Thomas Raschbacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2002-09-03 01:54:42 UTC
Gentlemen,

IMHO, the doman function should be able to detect that blah.1 goes into
/usr/share/man/man1 whereas blah.1x should go into /usr/X11R6/man/man1

thanks.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-09-04 04:05:42 UTC
How's this: http://gentoo.twobit.net/portage/doman/
The doman.test shows variable flow.

doman blah.1
--> Installs into /usr/share/man/man1

doman blah.1x
--> Installs into /usr/X11R6/man/man1

doman -kde blah.1
--> Installs into /opt/kde/man/man1

doman -kde blah.1x
--> Installs into /usr/X11R6/man/man1

doman blah.1 blah.1x -kde kde.4 tcl.N
blah.1 -> /usr/share
blah.1x -> /usr/X11R6
kde.4 -> /opt/kde
tcl.N -> /opt/kde (wrong place... but it's an example.)

doman tcl.N -kde blah.1 -gnome foo.3 bar.6x
doman -kde blah.1 -gnome foo.3 -- tcl.N
blah.1 -> /opt/kde
foo.3 -> /opt/gnome
tcl.N -> /usr/share
bar.6x -> /usr/X11R6
Comment 2 Thomas Raschbacher gentoo-dev 2002-10-24 15:20:54 UTC
Created attachment 4987 [details]
updated file

checks man-page for header info if not *.[1-8n] ...
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-07-16 02:21:44 UTC
I think this is taken care of by now. :)