r2137 - in trunk/user
Stefan Sperling
stsp at stsp.name
Sat Feb 23 10:33:52 CET 2008
On Fri, Feb 22, 2008 at 08:52:13PM +0100, dslinux_sonny_jim at dslinux.in-berlin.de wrote:
> Author: sonny_jim
> Date: 2008-02-22 20:52:13 +0100 (Fri, 22 Feb 2008)
> New Revision: 2137
>
> Log:
> Adding man pages for user apps
>
> Modified: trunk/user/coreutils/Makefile
> ===================================================================
> --- trunk/user/coreutils/Makefile 2008-02-22 19:51:22 UTC (rev 2136)
> +++ trunk/user/coreutils/Makefile 2008-02-22 19:52:13 UTC (rev 2137)
> @@ -114,3 +114,99 @@
> $(ROMFSINST) ./src/src/who /usr/bin/coreutils/who
> $(ROMFSINST) ./src/src/whoami /usr/bin/coreutils/whoami
> $(ROMFSINST) ./src/src/yes /usr/bin/coreutils/yes
> +
> + $(ROMFSINST) -m ./src/man/base64.1 /usr/share/man/base64
> + $(ROMFSINST) -m ./src/man/basename.1 /usr/share/man/basename
> + $(ROMFSINST) -m ./src/man/cat.1 /usr/share/man/cat
> + $(ROMFSINST) -m ./src/man/chgrp.1 /usr/share/man/chgrp
> + $(ROMFSINST) -m ./src/man/chmod.1 /usr/share/man/chmod
> + $(ROMFSINST) -m ./src/man/chown.1 /usr/share/man/chown
A problem with this scheme is that we won't be able to add
man pages that have the same name but live in different sections.
Those are rare, but do exist, e.g. 'passwd': passwd.1 describes
the command, while passwd.5 describes the passwd file format.
Try these commands on a linux box:
man 1 passwd
man 5 passwd
This commit is a great start nevertheless, but I guess in the long run
getting the real man command to work would be a worthwhile effort.
--
stefan
http://stsp.name PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://mailman.dslinux.in-berlin.de/pipermail/dslinux-devel-dslinux.in-berlin.de/attachments/20080223/38a75a5d/attachment.pgp
More information about the dslinux-devel
mailing list