[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Typesetting with groff from Makefiles
From: |
Bernd Warken |
Subject: |
Re: [Groff] Typesetting with groff from Makefiles |
Date: |
Tue, 21 Jun 2005 15:02:37 +0200 |
Keith MARSHALL <address@hidden> schrieb am 21.06.05 12:44:20:
>
> > I'll simply use a modified version of Keith's suggestion:
> >
> > foo.ps: foo.ms
> > groff --some-options foo.ms >$@ \
> > || ($(RM) $@; false)
>
> Indeed, you can use `false', instead of `exit 1', as I suggested.
> But note that `false' is *not* a shell builtin in standard Bourne
> shell -- it is in `ksh' or `bash' -- so you are potentially adding
> an extra external process invocation here.
But `false' is part of POSIX. That should be enough. You cannot use the
original Bourne style for much; it does not even have shell functions.
Bernd Warken
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193