[Top][All Lists]

[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


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 
AM_INIT_AUTOMAKE([foobar], [0.0])
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 
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]