On 2015-06-03 14:39, Jean Delvare wrote:
> Would the following alternative implementation work for you?
> 
> ---
>  Makefile.in |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -225,7 +225,11 @@ doc/reference : bin/quilt $(QUILT:%=quil
>       done |                                                          \
>       $(SED) -e 's/\$$EDITOR ([^)]*)/$$EDITOR/'                       \
>              -e '/^$$/!s/^/  /'                                       \
> -            -e 's/^  Usage: *//' > $@
> +            -e 's/^  Usage: *//' > $@.tmp
> +     @if test ! -e $@ || ! @DIFF@ -q $@.tmp $@;                      \
> +     then                                                            \
> +             mv -f $@.tmp $@;                                        \
> +     fi

Yes. This is lot simpler, admittedly.

Michal

_______________________________________________
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to