Hello Daniel,
re. the part that has not been addressed yet:
* Daniel Leidert wrote on Sat, Nov 01, 2008 at 11:21:11PM CET:
>
> schemas_DATA = `echo "$(schemas_in_files)" | sed
> 's/.schemas.in$$//;$(transform);s/$$/.schemas/'`
>
> Running the install target fails, because the installation rules do not
> expand this expression. Instead they try to install "`echo". So I need:
>
> schemas_DATA = $(shell echo "$(schemas_in_files)" | sed
> 's/.schemas.in$$//;$(transform);s/$$/.schemas/')
>
> and this works. Is there maybe a solution, which doesn't require GNU
> make here?
In case $(schemas_in_files) is known at configure time:
configure.ac:
mydatafiles=`echo "$schemas_in_files" |
sed 's/.schemas.in$//;$program_transform_name;s/$/.schemas/'`
AC_SUBST([mydatafiles])
Makefile.am:
schemas_DATA = @mydatafiles@
Otherwise, I don't see a way to do this portably ATM.
Cheers,
Ralf
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf