[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How specify dependences on URL
From: |
Peng Yu |
Subject: |
Re: How specify dependences on URL |
Date: |
Fri, 25 Dec 2009 12:35:47 -0600 |
On Fri, Dec 4, 2009 at 10:00 AM, Peng Yu <address@hidden> wrote:
> On Fri, Dec 4, 2009 at 8:37 AM, Allan Odgaard
> <address@hidden> wrote:
>> On 4 Dec 2009, at 14:19, Peng Yu wrote:
>>
>>> Suppose I want to download the file http://some_website/some_file
>>> whenever it is newer than the local file. This needs the specification
>>> of the dependency on URLs. I'm wondering if it is possible to do so in
>>> gnu make.
>>
>> URLs don’t have dates. A GET/HEAD request may return a ‘Last-Modified’
>> header and you can do conditional requests using that or the entity tag, but
>> these things are beyond make.
>
> Some programs (e.g. rsync) support various network protocols. It would
> be nice that gnu make also support these protocols. Will this
> functionality be considered to be added in gnu make in the future?
Will this feature be considered in the future? I recommend to support
ftp protocol first, maybe ssh can be supported later.