automake
[Top][All Lists]
Advanced

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

Re: Expressing dependencies


From: Andrew Suffield
Subject: Re: Expressing dependencies
Date: Sat, 3 Jan 2004 23:23:49 +0000
User-agent: Mutt/1.5.4i

On Sun, Jan 04, 2004 at 09:39:28AM +1100, Robert Collins wrote:
> On Sun, 2004-01-04 at 08:17, Laurence Finston wrote:
> 
> > The problem is that make makes certain assumptions that don't apply when 
> > CWEB
> > is used.
> 
> I think thats an incorrect statement. It would be more accurate to say
> that CWEB hasn't been built with any thought to the impact on make. Make
> has only the file system data available to it to determine 'has X
> changed more recently than Y.' config.status for example, when it
> regenerates config.h will only alter the file if the contents have
> changed - so that it preserves the timestamp. I think that most
> pre-preocessors in this sense could benefit from a wrapper of some sort
> that would equally not alter the file IF nothing had changed - and you
> could use that wrapper directly in make rules for ctangle.

It may be worth noting that bison and flex, as invoked by automake,
have comparable issues with their ancillary files (especially
bison-generated headers). I never managed to figure a way to have
those work sanely with make either, let alone automake.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

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