automake
[Top][All Lists]
Advanced

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

Re: Make looks for the wrong file


From: Baurzhan Ismagulov
Subject: Re: Make looks for the wrong file
Date: Thu, 28 Jul 2011 13:17:18 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Jul 27, 2011 at 11:06:54PM +0000, Dave Hart wrote:
> The ntp.org reference implementation of NTP includes a "deps-ver"
> mechanism that allows a developer renaming or deleting files in a way
> that will trigger this sort of .deps-related build break for those
> tracking the source and rebuilding using an existing build directory
> to bump the "deps-ver", which triggers removal of stale .deps/
> contents, so they will be rebuilt correctly.  The sentinel file
> /deps-ver (whose contents are changed, or "bumped" to trigger the
> cleanup).  depsver.mf contains the logic and must be included in the
> Makefile.am files using Automake's automatic dependency tracking.

Sounds very useful -- I have to do cd $builddir; rm
.deps/renamed_file.Po; ./config.status; cd - many times a day during
migrating a C project to C++ and switching branches. May this be
included in automake?

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/



reply via email to

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