bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS Automake program_transform_name broken


From: Nicolas Joly
Subject: CVS Automake program_transform_name broken
Date: Mon, 10 Jun 2002 14:16:03 +0200
User-agent: Mutt/1.2.5i

Hi,

I found that `program_transform_name' mecanism is currently broken
with CVS Automake.

It relies on address@hidden@' given by autoconf and use
`$(transform)' in installation mecanisms.  The problem is that the
code `transform = @program_transform_name@' was removed from
`lib/am/header-vars.am', and `$(transform)' always remains empty
preventing files names from any modification.

address@hidden [automake/debug]> cat configure.ac 
AC_INIT
AM_INIT_AUTOMAKE([foobar], [0.0])
AC_PROG_CC
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
address@hidden [automake/debug]> cat Makefile.am 
bin_PROGRAMS = foobar
address@hidden [automake/debug]> cat foobar.c 
int main() { return 0; }

address@hidden [automake/debug]> ./configure 
--program-transform-name='s,foobar,barfoo,'
configure: loading site script /usr/local/share/config.site
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

address@hidden [automake/debug]> grep transform Makefile 
program_transform_name = s,foobar,barfoo,
            f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
          f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \

-- 
Nicolas Joly

Biological Software and Databanks.
Pasteur Institute, Paris.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]