automake
[Top][All Lists]
Advanced

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

Re: incremental make install


From: Peter Johansson
Subject: Re: incremental make install
Date: Thu, 22 Jan 2009 11:51:56 -0500
User-agent: Thunderbird 2.0.0.18 (X11/20081119)

Warren Young wrote:
Bob Rossi wrote:

I was wondering if there is an incremental make install command? (my make install doesn't appear to be incremental, should it be?)

No, a Makefile's install target normally just contains a series of commands for installing everything, without checking if it exists first. If the install target depends on anything, it's usually basic top-level targets like 'all'. There's no technology limit that prevents us from making it incremental. All you'd have to do is write a rule for every file that gets installed, and make the install target depend on all of them. Tedious to do by hand, but automake is good at doing such things for you.

There is an item in the not yet released Automake NEWS that I guess is related to this:

- install-sh supports -C, which does not update the installed file
  (and its time stamps) if the contents did not change.

http://git.savannah.gnu.org/gitweb/?p=automake.git;a=blob;f=NEWS;h=6fcc1a535b0bbab7333230d780fde8f194836131;hb=HEAD


Cheers,

--
Peter Johansson

svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer,       http://dev.thep.lu.se/yat





reply via email to

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