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/