[Lazarus] make clean all after a unit is relocated
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Oct 24 18:20:25 CEST 2011
On Mon, 24 Oct 2011 18:03:29 +0200
zeljko <zeljko at holobit.net> wrote:
> On Monday 24 of October 2011 13:40:42 Mattias Gaertner wrote:
>
> > When it happens the next time, do a
> > make clean > clean.txt
> > ls -lR >> clean.txt
> >
> > and send me the output.
>
> I'll do that.
>
> >
> > > 2.Another thing is when I work something to fix something inside eg gtk2
> > > widgetset, I'm working on project, and added eg. DebugLn('Something') in
> > > some proc in gtk2.
> > > Now rebuild project ... lcl isn't rebuilded ?!? why ?
> >
> > Maybe a file is missing in the lcl.lpk?
>
> What file ?
The file you modified.
> Don't know .. exact problem is ws dir, if I change anything in lcl
> then it's recompiled - no problem, but small change in ws code eg. in gtk2proc
> or something similar, doesn't trigger lcl to rebuild.
Editing gtk2proc.inc triggers a rebuild here.
> > > now I must cd to
> > > lcl/units/i386-linux/gtk2 and manually remove ppus and others, and then
> > > rebuild test project again.
> >
> > For your interest:
> > Eventually I want to add a quick fix item, to check if the missing unit
> > belongs to a package. Then it could check if the source file is in the
> > lpk and ask to add it and/or to recompile the package.
> > This feature is needed anyway, because there are some corner cases
> > that the IDE can not detect.
>
> Yes, thanks, that's exact case, but weird thing that sometimes it works
> (usually if I change something in interface part, or if I change few lines of
> code), but adding just one DebugLn() somewhere doesn't work.
The IDE checks the file date not the content, so it probably has
nothing to with the type of change.
Mattias
More information about the Lazarus
mailing list