From owner-freebsd-doc Tue Aug 7 1:19:51 2001 Delivered-To: freebsd-doc@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id C19B637B403; Tue, 7 Aug 2001 01:19:43 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.31 #1) id 15U26U-0007kD-00; Tue, 07 Aug 2001 10:20:42 +0200 From: Sheldon Hearn To: Warner Losh Cc: Greg Lehey , John Baldwin , Mike Pritchard , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, doc@FreeBSD.org Subject: Re: Which OS does a man page come from? (was: cvs commit: src/bi In-reply-to: Your message of "Tue, 07 Aug 2001 02:11:55 CST." <200108070811.f778Bt112605@harmony.village.org> Date: Tue, 07 Aug 2001 10:20:42 +0200 Message-ID: <29772.997172442@axl.seasidesoftware.co.za> Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 07 Aug 2001 02:11:55 CST, Warner Losh wrote: > : As I said: we add the .Os and .Dd when installing. > > How is that different than just copying the mandoc macros that were > used to build the man pages from the {cd, network, wherever} you got > the man page sources from? Um, Warner, the point is that right now, if Greg copies an installed _source_ manual page from a FreeBSD system, he gets an empty Os macro: .Os If we do as he suggests, he'll get a populated Os macro: .Os FreeBSD 4.5 > Adding the .Os and .Dd at install time seems ugly to me. Why? It's just a little Makefile magic. We don't actually add the macro, just an argument, and only in the case where there are no arguments, e.g. s/^\.Os$/.Os FreeBSD 4.5/g Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message