Re: PATCH: Fix dependency tracking

2001-04-23 Thread Alexandre Oliva
On Apr 23, 2001, Robert Boehne <[EMAIL PROTECTED]> wrote: > Here is a patch that fixes the problems I've been winging about. > Part of the problem appears to be that @AMDEP_TRUE@ is > AC_SUBST'd when automake is generated from automake.in, > so I add a dummy variable and set it to '@AMDEP_TRUE@'

Re: Dependency to update Makefile

2001-04-23 Thread Raja R Harinath
Hi, Tom Tromey <[EMAIL PROTECTED]> writes: > > "Raj" == Raj (Basavaraj) Karadakal <[EMAIL PROTECTED]> writes: > > Raj> I am using clearmake in gnu compatibility mode. > > Maybe it is a bug in the compatibility mode then. > > With GNU make, any `Makefile' target is processed before all othe

Re: Help: Automake's Struct.pm

2001-04-23 Thread Russ Allbery
Akim Demaille <[EMAIL PROTECTED]> writes: > Well, I have no experience at all in this area, so here is my proposal. > I must leave now, sorry I didn't write the full ChangeLog. Of course I > will. > Tom? Russ, I'd be reassured if you could comment. What would be really useful to me would be d

PATCH: Fix dependency tracking

2001-04-23 Thread Robert Boehne
Here is a patch that fixes the problems I've been winging about. Part of the problem appears to be that @AMDEP_TRUE@ is AC_SUBST'd when automake is generated from automake.in, so I add a dummy variable and set it to '@AMDEP_TRUE@' and subst that into automake.in. Thanks, Robert -- Robert Boeh

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
Robert Boehne wrote: > > Alexandre Oliva wrote: > > > > On Apr 18, 2001, Robert Boehne <[EMAIL PROTECTED]> wrote: > > > > > .c.o: > > > source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ > > > depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' > > > @AMDEPBACKSLASH@ > > >

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
OK, here's a bit more info: In automake.in this code appears: foreach my $iter (@deplist) { $output_rules .= ('@AMDEP_TRUE@@_am_include@ @_am_quote@' . $iter . '@_am_quote@' . "\n"); } Which, if it added @AMD

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
CVS version of aclocal.m4 doesn't match CVS m4/depend.m4, could that cause a problem? Robert Boehne wrote: > > Hello, > > There is a bit of a problem in CVS Automake (Today's) when > --disable-dependency-tracking is specified to configure. > If dependency tracking rules have been added to Makef

RE: Dependency to update Makefile

2001-04-23 Thread Raj (Basavaraj) Karadakal
Title: RE: Dependency to update Makefile Thanks , I will take this up with Rational. Raj -Original Message- From: Tom Tromey [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 3:23 PM To: Raj (Basavaraj) Karadakal Cc: '[EMAIL PROTECTED]' Subject: Re: Dependency to update Makef

Re: Dependency to update Makefile

2001-04-23 Thread Tom Tromey
> "Raj" == Raj (Basavaraj) Karadakal <[EMAIL PROTECTED]> writes: Raj> I am using clearmake in gnu compatibility mode. Maybe it is a bug in the compatibility mode then. With GNU make, any `Makefile' target is processed before all other targets. If the Makefile is rebuilt then it is re-read

RE: Dependency to update Makefile

2001-04-23 Thread Raj (Basavaraj) Karadakal
Title: RE: Dependency to update Makefile I am using clearmake in gnu compatibility mode. Thanks Raj -Original Message- From: Tom Tromey [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 2:46 PM To: Raj (Basavaraj) Karadakal Cc: '[EMAIL PROTECTED]' Subject: Re: Dependency to u

Re: Help: Automake's Struct.pm

2001-04-23 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> Well, I have no experience at all in this area, so here is my Akim> proposal. I must leave now, sorry I didn't write the full Akim> ChangeLog. Of course I will. Akim> Tom? Maybe we should introduce a new subdirectory in the sourc

Re: Dependency to update Makefile

2001-04-23 Thread Tom Tromey
> "Raj" == Raj (Basavaraj) Karadakal <[EMAIL PROTECTED]> writes: Raj> I am trying to use Automake in a project. I found a dependency Raj> problem in the generated Makefile. If I change Makefile.am , the Raj> dependency rules in the Makefile to update itself, will not be Raj> executed before t

Help: Automake's Struct.pm

2001-04-23 Thread Akim Demaille
Well, I have no experience at all in this area, so here is my proposal. I must leave now, sorry I didn't write the full ChangeLog. Of course I will. Tom? Russ, I'd be reassured if you could comment. make check and make distcheck are happy. Index: ChangeLog from Akim Demaille <[EMAIL PROTEC

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
Alexandre Oliva wrote: > > On Apr 18, 2001, Robert Boehne <[EMAIL PROTECTED]> wrote: > > > .c.o: > > source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ > > depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' > > @AMDEPBACKSLASH@ > > $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@

Dependency to update Makefile

2001-04-23 Thread Raj (Basavaraj) Karadakal
Title: Dependency to update Makefile I am trying to use Automake in a project. I found a dependency problem in the generated Makefile. If I change Makefile.am , the dependency rules in the Makefile to update itself, will not be executed before the target rules. The result is if I change Makefi