<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Il 20/02/2015 21:56, Mattias Gaertner
ha scritto:<br>
</div>
<blockquote cite="mid:20150220215619.6ae3e564@limapholos.matflo.wg"
type="cite">
<pre wrap="">On Thu, 19 Feb 2015 18:40:22 +0100
Giuliano Colla <a class="moz-txt-link-rfc2396E" href="mailto:giuliano.colla@fastwebnet.it"><giuliano.colla@fastwebnet.it></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Il 19/02/2015 14:10, Mattias Gaertner ha scritto:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
</blockquote>
<br>
Tested. <br>
<br>
<ul>
<li>First time build, (i.e. fallback directories still
absent/empty) is ok. with "Clean Common files" checked or
unchecked.</li>
<li>With a small script I've populated all the fallback
directories, wherever a .ppu file was present, with an extra
"leftover.ppu".</li>
<li>After building without checking "Clean common files", no
packages are recompiled and all my leftovers are still there.</li>
<li>After building with "Clean common files" checked, all is
recompiled and all my leftovers are deleted.</li>
<li>Building without using fallback directory (i.e. lazarus tree
writeable) appears unchanged.</li>
</ul>
<br>
IMO it can be safely merged.<br>
<br>
Giuliano<br>
<br>
<pre class="moz-signature" cols="72">--
Giuliano Colla
Project planning question: when it's 90% done, are we halfway or not yet?
</pre>
</body>
</html>