[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using the date relationship of two older files as a prerequisite
From: |
Brian J. Murrell |
Subject: |
using the date relationship of two older files as a prerequisite |
Date: |
Thu, 29 Nov 2012 12:50:01 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
I have a file which is not created by make but is created/updated by an
outside process. The time stamp on this file will always be some time
in the past. Let's call this file "O".
I have a target which I want make to build which we'll call "T". I want
T rebuilt if file O is newer than it was the last time T was built. But
even though the time on O might be newer than it was the last time T was
built, it will still not be newer than T.
Somehow I need to introduce some kind of time tracking mechanism on O
which triggers a dependency on T, perhaps through a "stamp" file of some
sort but I'm not quite getting my head around it.
Any ideas?
Cheers,
b.
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- using the date relationship of two older files as a prerequisite,
Brian J. Murrell <=