Il 20/02/2015 21:56, Mattias Gaertner ha scritto:
On Thu, 19 Feb 2015 18:40:22 +0100
Giuliano Colla <[email protected]> wrote:

Il 19/02/2015 14:10, Mattias Gaertner ha scritto:

The "Clean All" is calling "make clean". That only works in the
Lazarus source directory.
There is a "clean up" for the project and its packages, but not yet for
the IDE and its packages.
Missing feature.
Is there a reason why a procedure CleanLazarusDestDir similar to 
CleanLazarusSrcDir could not be used to perform the cleanup when 
isRedirected is true?
All that is required, in a user path, is to clean up compiler generated 
files, without all the other stuff which cleanide or cleanlaz do.
Trunk now cleans up the fallback directories, when the user selects
the clean option.
Please test. If it works it can be merged to fixes_1_4.

Tested.

  • First time build, (i.e. fallback directories still absent/empty) is ok. with "Clean Common files" checked or unchecked.
  • With a small script I've populated all the fallback directories, wherever a .ppu file was present, with an extra "leftover.ppu".
  • After building without checking "Clean common files", no packages are recompiled and all my leftovers are still there.
  • After building with "Clean common files" checked, all is recompiled and all my leftovers are deleted.
  • Building without using fallback directory (i.e. lazarus tree writeable) appears unchanged.

IMO it can be safely merged.

Giuliano

-- 
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to