Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 21:24:12 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        arch@FreeBSD.org
Subject:   Re: [Call for *quick* review] architecture-specific manpages
Message-ID:  <3A8C2CDC.307458AE@FreeBSD.org>
References:  <20010215211404.A44780@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote:

> [Bcc'ed to -developers]
>
> Hi!
>
> The attached patch implements one nice feature of original BSD man(1),
> to look into the machine-specific subdirectory, specifically:
>
> : As some manual pages are intended only for specific architectures,
> : man searches any subdirectories, with the same name as the current
> : architecture, in every directory which it searches.  Machine specific
> : areas are checked before general areas.  The current machine type may
> : be overridden by setting the environment variable MACHINE to the name
> : of a specific architecture.
>
> This would eliminate the need to MLINK every arch-specific file to the
> parent directory, and would allow us to have both architecture-specific
> and generic manpages with the same name in the same section.
>
> Comments?

Why not to use HW_MACHINE mib to get current arch, so it would just work [tm] w/o the
need to define MACHINE env variable?

-Maxim




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8C2CDC.307458AE>