help-make
[Top][All Lists]
Advanced

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

RE: updating target at the end of recipe, after updating prerequisites,


From: Paul Smith
Subject: RE: updating target at the end of recipe, after updating prerequisites, might not work?
Date: Mon, 14 Nov 2011 02:43:16 -0500

On Sun, 2011-11-13 at 23:21 -0800, Mark Galeck (CW) wrote:
> >Of course.  Setting and storing the mod time on a file is up to the
> >filesystem.  Some filesystems support timestamps with granularity of 1
> 
> Yes Paul, but that is not my main problem.

I know.  But you brought it up; I responded.

> My main problem is that, on a single filesystem that supports
> sub-second timestamps, some utilities make use of sub-second
> timestamps, and some don't.
> 
> How do you propose to deal with that?

Make can't help it if your tools are broken.  You can either only use
tools that support sub-second timestamps, or you can use only tools that
_don't_ support it, or you can use make's .LOW_RESOLUTION_TIME special
target to tell make about it.  See the GNU make manual.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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