Subject: Re: sup and make
To: Todd Vierling <tv@pobox.com>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 06/16/1999 14:08:48
On Wed, 16 Jun 1999, Todd Vierling wrote:

> On Wed, 16 Jun 1999, Ian Dall wrote:
> 
> : I have started using sup to maintain a NetBSD source tree. A problem I
> : can forsee is that the sup'ed files have there original mtime, which
> : could be older than the corresponding object files (or other dependant
> : files). What I would like is to be able to do a sup and a make and
> : have only the changed files recompiled.
> 
> >From my own experience with sup, it uses the current date for the mtime on
> modified files.  If that's changed, it should be investigated.

The problem on the slow machines is that you can't hardly do a "make
build" in less than 24 hours. So if the next sup, which could actually
be weeks later, updates any sources that have the mtime set to be 6:00
or 7:00am on the same day that the object was built, "make" won't pick
up on that. Even on the moderately fast machines, if you do your sup
at 4:00am PST you could have the same problem.

I would like to see an option to "sup" to not munge the mtime. Just
leave it be the time of the sup. That would give us a fighting chance
to get things under control.