Re: Avoiding installation

2005-09-05 Thread Stepan Kasal
Hello, On Sat, Sep 03, 2005 at 09:16:00AM -0400, John Kodis wrote: I'd like a program to be built when I type make, but not have it installed when I type make install. Is there a provision for this? [...] When this source file is compiled with $(CC) -o $@ -DMAIN $ will build a stand-alone

'make' reruns configure ?!

2005-09-05 Thread Kendrick Smith
Can anyone tell me why an Automake-generated Makefile would rerun the 'configure' script when 'make' is invoked, and whether there's a (possibly heavy-handed) way to disable this behavior? Thanks! Kendrick

Re: 'make' reruns configure ?!

2005-09-05 Thread Stepan Kasal
Hello, On Mon, Sep 05, 2005 at 08:46:07AM -0500, Kendrick Smith wrote: Can anyone tell me why an Automake-generated Makefile would rerun the 'configure' script when 'make' is invoked, because it has regenerated 'configure' just before it and there is possibility that the new 'configure' might

Re: 'make' reruns configure ?!

2005-09-05 Thread Bob Proulx
Kendrick Smith wrote: Can anyone tell me why an Automake-generated Makefile would rerun the 'configure' script when 'make' is invoked, This would mean that the timestamps on the files indicate that you have modified a source file such as modifying a Makefile.am. Because the Makefile.am is

Re: 'make' reruns configure ?!

2005-09-05 Thread Ralf Wildenhues
Hi Kendrick, * Kendrick Smith wrote on Mon, Sep 05, 2005 at 03:46:07PM CEST: Can anyone tell me why an Automake-generated Makefile would rerun the 'configure' script when 'make' is invoked, and whether there's a (possibly heavy-handed) way to disable this behavior? Usually,

Portable prefix pattern rules

2005-09-05 Thread Brian
I am trying to find a portable way to replace this rule as given in AutoQt [1], which the autotools warn against using: SUFFIXES = .moc.cpp %.moc.cpp:%.h $(MOC) -o $@ $ The following doesn't seem to work: SUFFIXES = .moc.cpp .moc.cpp:.h $(MOC) -o $@ $ The only other

Re: Portable prefix pattern rules

2005-09-05 Thread Brian
I hate to say it, but it is more than ugly. As a maintainer, when forced with the choice of leaving it as it is, which were it portable would be an elegant solution, or replacing it with hundreds of rules that I will have to maintain, I will leave it as it is. If the autotools were to

Re: Portable prefix pattern rules

2005-09-05 Thread Tom Tromey
Brian == Brian [EMAIL PROTECTED] writes: Brian The following doesn't seem to work: Brian SUFFIXES = .moc.cpp I have never tried it but it is somewhat hard to imagine some versions of make accepting a suffix with two '.'s in it. Brian The only other alternative I see is to enumerate a rule

Re: Portable prefix pattern rules

2005-09-05 Thread Tom Tromey
Brian == Brian [EMAIL PROTECTED] writes: Brian If the autotools were to recognize these pattern rules, scan Brian the source and automatically generate portable rules for me, I Brian would be a very happy customer indeed :) Sorry, I thought that was what we were talking about. In terms of just