From owner-cvs-all Wed Sep 5 2:10:29 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 801BC37B43B; Wed, 5 Sep 2001 02:10:12 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f859A8419227; Wed, 5 Sep 2001 12:10:08 +0300 (EEST) (envelope-from ru) Date: Wed, 5 Sep 2001 12:10:08 +0300 From: Ruslan Ermilov To: Murray Stokely Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: [PATCH] make manlint (was: mutex.9 thread) Message-ID: <20010905121008.M96906@sunbay.com> References: <20010904131644.B54480@sunbay.com> <20010904231554.I7815-100000@achilles.silby.com> <20010905101020.E96906@sunbay.com> <20010905014549.B11407@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010905014549.B11407@windriver.com>; from murray@FreeBSD.org on Wed, Sep 05, 2001 at 01:45:49AM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Sep 05, 2001 at 01:45:49AM -0700, Murray Stokely wrote: > On Wed, Sep 05, 2001 at 10:10:20AM +0300, Ruslan Ermilov wrote: > > The "minimal" emblem should look like this: > > > > Reviewed by: groff -ww -man -mtty-char -Tascii >/dev/null > > > > BTW, Kris, the #3 is self-documented in bsd.man.mk as follows: > > > > MROFF_CMD?= groff -ww -Tascii -mtty-char -man -t > > How about introducing a simple "manlint" target that allows us > mortals to verify our -mdoc skills? This patch seems to work nicely : > I like the idea, but the patch is wrong. It only works in simple cases, where ${.CURDIR} has all ${MAN}. This is not always the case, like in MANFILTER case, or .man.1 case, which we have many. I'll come up with a proper patch later today. Please also note that this gives only a minimal validity checking! Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message