help-make
[Top][All Lists]
Advanced

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

Re: How can I get `make` to look at the mtime of a symlink?


From: Stefan Monnier
Subject: Re: How can I get `make` to look at the mtime of a symlink?
Date: Sun, 06 Aug 2017 12:02:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>> I need to update some files whenever a symlink changes, even if the new
>> target of the symlink is an old file.
>> How can I do that with GNU Make?

> See:

>        -L, --check-symlink-times
>             Use the latest mtime between symlinks and target.

Thanks.  Is there a way to do it from within the Makefile (either
globally, or for specific targets)?


        Stefan




reply via email to

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