[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/7] iconv_open: reduce not-trivial repetition of file-list
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH 3/7] iconv_open: reduce not-trivial repetition of file-list |
Date: |
Wed, 13 Oct 2010 20:06:50 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hi Gary,
* Gary V. Vaughan wrote on Wed, Oct 13, 2010 at 11:45:52AM CEST:
> Hmm... it's a pity that there isn't an Automake syntax for transforming
> lists of filenames (that works with portable make anyway), since having
> four near-identical lists of filenames bothers me a (tiny) little bit.
For what it's worth,
$(MACRO:.suffix1=.suffix2)
is portable to both Posix make and Automake, as long as both suffixes do
not contain dots. If they do contain dots, then it's still portable to
most make implementations in practice (and to Automake). The process
can be repeated by using assignments to intermediate helper macros.
Isn't that what you were looking for here?
Cheers,
Ralf
[PATCH 1/7] gnulib-tool: transform include guards with `--macro-prefix', Gary V. Vaughan, 2010/10/12
[PATCH 2/7] gnulib-tool: transform hard-coded libgnu.a to $libname.l?a, Gary V. Vaughan, 2010/10/12
Re: [PATCH 0/7] contents of topic/libposix for merge to master, Bruno Haible, 2010/10/12