[Lazarus] Make option for specific package

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 19 09:32:27 CET 2010


On Fri, 19 Nov 2010 08:22:54 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> Op 2010-11-18 18:50, Mattias Gaertner het geskryf:
> >> make clean all
> >> make idepkg
> > 
> > This will not update the packages.
> > Try:
> > 
> > make clean all
> > ./lazbuild --build-ide=
> 
> 
> Another classic example of why makefiles are such a terrible idea. Why not
> simply create a GUI and/or Console app that lists the options (maybe even
> copy the "Tools > Build Lazarus" dialog. This tool must a able to compile
> with 'fpc buildtool.pas'. The users can then simply run the tool, select
> the option they want, and it fires off the correct build command with it's
> 110 parameter choices. Hide the complexities of Makefile - they are a
> terrible idea under all circumstances.

He asked for command line compilation of Lazarus including his own
packages. So no gui, but lazbuild.
To compile lazbuild you need make. A 'make clean all' is pretty
standard.
And lazbuild -h gives you the options.

Mattias





More information about the Lazarus mailing list