[Lazarus] SVN update conflicts

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 21 16:21:53 CET 2012


On Wed, 21 Mar 2012 11:59:15 +0100
Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:

> Mattias Gaertner schrieb:
> 
> >>>> What's the reason for versioning e.g. Makefile.compiled?
> >>> The Makefile.compiled is used by "make" to create the
> >>> pkgname.compiled files. This way the IDE knows how a package was
> >>> compiled and knows if it needs to recompile the package.
> >> Since everything must be compiled on the *local* machine, it doesn't 
> >> make sense to import (from the repo) an Makefile.compiled from a 
> >> *different* machine. Like it doesn't make sense to import the compiled 
> >> (binary) files, that match the imported Makefile.compiled.
> > 
> > What exactly makes no sense?
> 
> The Makefile.compiled must match the last compilation on the user 
> machine. It doesn't make sense to use one from a compilation on a 
> different machine.

Using something from another machine is exactly what a binary
distribution is about. And that is the purpose of the Makefile.compiled.


> Following your explanations, currently "make" is 
> fooled whenever a Makefile.compiled is overwritten ("updated") by a 
> version from the repository.



Mattias




More information about the Lazarus mailing list