LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Mark Phillips <mark@austrics.com.au>
  To  : Daryl Tester <Daryl.Tester@IOCANE.com.au>
  Date: Tue, 26 Jun 2001 12:20:32 +0930

Re: "make" with soft link dependencies - how?

Daryl Tester wrote:

> Mark Phillips wrote:
>
> > But if the dependencies refer to
> > symbolic links to the earlier stuff instead, changes
> > will not affect the date stamp of the links, and hence
> > the latest stuff will not be recompiled as it should.
>
> The stat() call picks the attributes off of the file pointed
> to by the symbolic link, not the symbolic link itself, so it
> won't be a problem.  Have you actually tried it to see what the
> case is?

Okay.  No I haven't actually tried it yet.  I thought
that since "ls" gives the date of the symlink rather
that of what it points to, that make would obtain
the same date.  It sounds like I was wrong.  I'll
test it out anyway.

Thanks,

Mark.


-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page