Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 19:24:05 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Brian Somers <brian@FreeBSD.org>, 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>
In-Reply-To: <200108140316.f7E3Geb04353@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Tue, Aug 14, 2001 at 04:16:40AM %2B0100
References:  <ru@FreeBSD.org> <200108140316.f7E3Geb04353@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  :-)

<PS>
Please don't trim the originator from the To: list when replying
unless the Reply-To: header is explicitly set to another value.
</PS>


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010814192405.B53885>