On Sun, Mar 31, 2002 at 12:38:24PM +0200, Emiel Kollof wrote:
> On Sun, 2002-03-31 at 09:51, Terry Lambert wrote:
> 
> > 
> > Perhaps if the kernel printf also "ignored" the request to print
> > the little S.O.B. out, there would be less confusion...
> 
> I'm still sticking to the idea that one could test for kldxref, and if
> it isn't there, don't execute it.
> 
> [ -x /usr/sbin/kldxref ] && /usr/sbin/kldxref
> 
> like so, which is perfectly sane bourne shell syntax, which is also used
> by BSD make.

Not really.  Use:

    <target>: <deps>
    <tab>rule1
    <tab>rule2
    .if exists(/usr/sbin/kldxref)
    <tab>/usr/sbin/kldxref
    .endif

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to