[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage an
From: |
Michal Marek |
Subject: |
Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README |
Date: |
Wed, 03 Jun 2015 14:43:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
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: *//' > address@hidden
> + @if test ! -e $@ || ! @DIFF@ -q address@hidden $@;
> \
> + then \
> + mv -f address@hidden $@;
> \
> + fi
Yes. This is lot simpler, admittedly.
Michal
- [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README, Michal Marek, 2015/06/01
- [Quilt-dev] [PATCH 2/3] Add support for generating git-style diffs, Michal Marek, 2015/06/01
- [Quilt-dev] [PATCH 3/3] Add testcase for diff --git, Michal Marek, 2015/06/01
- Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README, Jean Delvare, 2015/06/03
- Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README,
Michal Marek <=
- Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README, Michal Marek, 2015/06/03
- Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README, Jean Delvare, 2015/06/03
- Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README, Michal Marek, 2015/06/03
- Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README, Jean Delvare, 2015/06/03
- Re: [Quilt-dev] [PATCH 1/3] Avoid unnecessary rebuilds of the manpage and README, Michal Marek, 2015/06/04