<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Pierre,<br>
<br>
Scilab 6.0 will propose a new function <b>tbx_make</b>(..) that
will be able to do exactly what you want:<br>
<a class="moz-txt-link-freetext" href="https://codereview.scilab.org/#/c/18071/">https://codereview.scilab.org/#/c/18071/</a><br>
<br>
By the way, it will greatly simplify compilation of modules, and
will no longer require many cooky-files .sce like buildmacros.sce
buildoc.sce etc etc spread everywhere in the tree of files of a
module.<br>
On the forefront, tbx_make() aims to replace & merge most of
functions of the "modules manager" module, that are rather some
atomic internals not really welcome as public functions:<br>
<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.0/en_US/section_d8452c14ec97df3c90ea90bb4f7d53b6.html">https://help.scilab.org/docs/6.0.0/en_US/section_d8452c14ec97df3c90ea90bb4f7d53b6.html</a><br>
<br>
If you use Scilab on Linux, you can already test tbx_make() in the
nightly built release (*).<br>
<br>
If you are working with Scilab 5, you may use the attached script.
Its how-to is in comments.<br>
<br>
Regards<br>
Samuel<br>
<br>
(*) tbx_make() merged on 2016-10-02 in the master release is still
unavailable in the today NB sticking on the 2016-09-22 sources for
Windows.<br>
<br>
Le 12/10/2016 22:00, Pierre Vuillemin a écrit :<br>
</div>
<blockquote
cite="mid:d9e6e49f-be71-0684-8b69-f5cee167aa26@pierre-vuillemin.fr"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<p>Hi all,</p>
<p>I am trying to make a function similar to genlib but which goes
recursively through folders to find .sci files, compile them and
put them in a given target build folder.</p>
<p>The idea is that I would like to be able to organize my
'macros' folder while still being able to generate a library. In
particular, I would like to have that kind of folder
organization :</p>
.../...<br>
</blockquote>
<br>
</body>
</html>