[PATCH] Re: offlineimap.version is no more.

Nicolas Sebrecht nicolas.s-dev at laposte.net
Wed Jan 26 20:55:01 GMT 2011

On Tue, Jan 25, 2011 at 07:10:03PM +0100, Thomas Schwinge wrote:

> I'm not sure I understand correctly -- you mean removing all *.pyc files
> before rebuilding anything else?


> Doing so would defeat (one of) make's main purposes: only rebuild the
> parts that need to be rebuilt (because their source files are more recent
> than the transformed (compiled) ones).

The build system in the makefile doesn't compile anything. pyc files
aren't things built by makefiles, you should rather see them as a cache
built and used by the python interpreter.

> On the other hand, make notoriously has a problem with disappearing
> source files -- whereas the transformed files stay in place.  Which is
> the issue we've seen here.  I think the appropriate fix is to take care
> to remove any generated files when removing a source file.

Or more simply, just remove them all. ,-)

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list