[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 03/26] [ng] texi: reimplement '.info' build usi
From: |
Stefano Lattarini |
Subject: |
Re: [Automake-NG] [PATCH 03/26] [ng] texi: reimplement '.info' build using target-specific variables |
Date: |
Sun, 17 Jun 2012 09:43:20 +0200 |
On 06/17/2012 08:39 AM, Akim Demaille wrote:
>
> Le 16 juin 2012 à 23:29, Stefano Lattarini a écrit :
>
>> This refactoring will be useful in later changes.
>>
>> * lib/am/texibuild.am (%DEST_SUFFIX%: %%SOURCE_SUFFIX%): Rewrite recipe
>> to use the target-specific variable 'am__info_insrc', which expands to
>> "yes" when the '?INSRC?' transform is true, and to the empty string
>> otherwise.
>>
>> Signed-off-by: Stefano Lattarini <address@hidden>
>> ---
>> lib/am/texibuild.am | 12 +++++++-----
>> 1 file changed, 7 insertions(+), 5 deletions(-)
>>
>> diff --git a/lib/am/texibuild.am b/lib/am/texibuild.am
>> index 30575fd..11cb90a 100644
>> --- a/lib/am/texibuild.am
>> +++ b/lib/am/texibuild.am
>> @@ -15,7 +15,7 @@
>> ## along with this program. If not, see <http://www.gnu.org/licenses/>.
>>
>> %%DEST_SUFFIX%: %%SOURCE_SUFFIX%
>> -?!INSRC? @$(am__ensure_target_dir_exists)
>> + $(if $(am__info_insrc),,@$(am__ensure_target_dir_exists))
>
>
> Actually, it looks like am__cd_src would be useful.
>
I don't follow. What would $(am__cd_src) do, and in what context would
it be useful?
Regards,
Stefano
- Re: [Automake-NG] [PATCH 02/26] [ng] texi: tweak rules for HTML generation to spawn only one shell, (continued)
[Automake-NG] [PATCH 01/26] [ng] texi: simplify by always assuming generic rules, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 03/26] [ng] texi: reimplement '.info' build using target-specific variables, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 04/26] [ng] texi: more target-specific variables use in '.info' build rules, Stefano Lattarini, 2012/06/16
[Automake-NG] [PATCH 05/26] [ng] texi: drop support for suffix-less info files, Stefano Lattarini, 2012/06/16