From owner-cvs-all Tue Aug 14 9:25:22 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 5405A37B408; Tue, 14 Aug 2001 09:24:44 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f7EGO5x55888; Tue, 14 Aug 2001 19:24:05 +0300 (EEST) (envelope-from ru) Date: Tue, 14 Aug 2001 19:24:05 +0300 From: Ruslan Ermilov To: Brian Somers Cc: Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/ppp Makefile ppp.8.m4 ppp.8 Message-ID: <20010814192405.B53885@sunbay.com> Mail-Followup-To: Brian Somers , Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200108140316.f7E3Geb04353@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108140316.f7E3Geb04353@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Tue, Aug 14, 2001 at 04:16:40AM +0100 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 Tue, Aug 14, 2001 at 04:16:40AM +0100, Brian Somers wrote: > > On Mon, Aug 13, 2001 at 10:26:42AM +0100, Brian Somers wrote: > > > > On Sat, Aug 11, 2001 at 11:27:14AM -0700, Brian Somers wrote: > > > > > brian 2001/08/11 11:27:14 PDT > > > > > > > > > > Modified files: > > > > > usr.sbin/ppp Makefile ppp.8.m4 > > > > > Removed files: > > > > > usr.sbin/ppp ppp.8 > > > > > Log: > > > > > Preprocess ppp.8.m4 into ppp.8, taking into account any compile time > > > > > options used to build ppp. > > > > > > > > > > Currently, this is a no-op and only handles LOCALNAT and LOCALRAD cases. > > > > > > > > > > This will be used for the upcoming ipv6 changes, and allows a shared > > > > > man page between OpenBSD and FreeBSD. > > > > > > > > > > Revision Changes Path > > > > > 1.90 +7 -1 src/usr.sbin/ppp/Makefile > > > > > 1.277 +41 -26 src/usr.sbin/ppp/ppp.8.m4 > > > > > > > > > This could also have been done with groff(1), which is more readable. > > > > > > Sounds good... but I'm not sure how I might do that :*) Any hints ? > > > > > > Cheers. > > > > > I have attached the patch (against the original Makefile and ppp.8) > > that implements this. Have you not seen it? > > Oops, no, I missed it :*) > > I'll look at doing it this way as it's cleaner, but OpenBSD doesn't > have the MANFILTER bit > You can name it ppp.man there, and provide the rule for generating ppp.8 from it like this: ppp.8: ppp.man sed ... ${.ALLSRC} > ${.TARGET} > and I'm not sure if OpenBSD's groff is capable of doing the rest.... > I have checked on rivet, it works. > I may need to wait 'till OpenBSD goes to the latest groff. > You don't need to. :-) Please don't trim the originator from the To: list when replying unless the Reply-To: header is explicitly set to another value. 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