[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makef
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil... |
Date: |
Thu, 18 Apr 2013 14:00:11 +0200 (CEST) |
>> If you break a line, please start the new line with the operator:
>>
>> -test -d "$(DESTDIR)$(bindir)" \
>> || $(mkinstalldirs) "$(DESTDIR)$(bindir)";
>
> (Interesting. I have binary operators at the end of the line as,
> like a hyphen in text, they indicate there's more to follow.)
Starting with the operator is GNU style, AFAIK, and it is used
throughout the groff code.
>> $(srcdir)/grog.pl >$@; \
>> chmod +x $@;
>
> The former will have make(1) stop if grog.pl fails whereas the
> latter will ignore that and use chmod's success. `&&' would avoid
> this in the latter though I wonder, without context, if the two
> commands need to be in the one sh invocation? Both create $@ even
> on failure, perhaps causing the target to be considered `built' next
> time. `grog.pl >address@hidden && mv address@hidden $@' might help.
Feel free to improve that :-) The `\' has been there previously, and
I always try to go the route of least surprise, this is, being as
minimally invasive as possible.
Werner
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil..., Werner LEMBERG, 2013/04/16
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil..., Bernd Warken, 2013/04/16
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil..., Werner LEMBERG, 2013/04/17
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil..., Ralph Corderoy, 2013/04/18
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil...,
Werner LEMBERG <=
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil..., Keith Marshall, 2013/04/18
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil..., Ralph Corderoy, 2013/04/18
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil..., Heinz-Jürgen Oertel, 2013/04/18
- Re: [Groff] [Groff-commit] groff ChangeLog INSTALL.gen Makefile.in Makefil..., Ralph Corderoy, 2013/04/18