CurrentDirectory=pwd();
- Directories=["util"];
+Directories=["SCI/modules/functions/macros"];
Directories=[Directories;"SCI/modules/arnoldi/macros"];
Directories=[Directories;"SCI/modules/boolean/macros"];
Directories=[Directories;"SCI/modules/cacsd/macros"];
end
Dim=size(Directories);
+exec('SCI/util/genmacros.sce');
for i=1:Dim(1) do
chdir(Directories(i));
SCI=getenv('SCI'); \r
TMPDIR=getenv('TMPDIR');\r
//------------------------------------\r
-//genlib('dstructlib','SCI/modules/data_structures/macros');\r
+genlib('dstructlib','SCI/modules/data_structures/macros');\r
//------------------------------------\r
--- /dev/null
+SCI_VERSION_MAJOR 5\r
+SCI_VERSION_MINOR 0\r
+SCI_VERSION_MAINTENANCE 0\r
+SCI_VERSION_STRING unstable-svn\r
+SCI_VERSION_REVISION 0
\ No newline at end of file
--- /dev/null
+changelog functions module
\ No newline at end of file
--- /dev/null
+// ====================================================================
+// This file contains command to be executed at the end
+// of a scilab session for functions module
+// Copyright INRIA 2006
+// ====================================================================
+// delete help chapter
+global LANGUAGE
+
+if LANGUAGE == 'fr' then
+ del_help_chapter("Fonctions");
+elseif LANGUAGE == 'eng' then
+ del_help_chapter("Functions");
+end
+
+clear del_help_chapter LANGUAGE;
+// ====================================================================
--- /dev/null
+// ====================================================================\r
+// functions module initialisation file \r
+// Copyright INRIA 2006\r
+// ====================================================================\r
+//Load functions librarie\r
+load('SCI/modules/functions/macros/lib');\r
+// ====================================================================\r
+//add help chapter\r
+global LANGUAGE\r
+\r
+path = get_absolute_file_path('functions.start');\r
+path = getshortpathname(path);\r
+\r
+if LANGUAGE == 'fr' then\r
+ path = pathconvert(part(path,1:(length(path)-5))+'/help/fr',%f,%f);\r
+ add_help_chapter("Fonctions",path);\r
+elseif LANGUAGE == 'eng' then\r
+ path = pathconvert(part(path,1:(length(path)-5))+'/help/eng',%f,%f);\r
+ add_help_chapter("Functions",path);\r
+end\r
+\r
+clear path get_absolute_file_path add_help_chapter LANGUAGE;\r
+// ====================================================================\r
--- /dev/null
+<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
+<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
+<MAN>
+ <LANGUAGE>eng</LANGUAGE>
+ <TITLE>genlib</TITLE>
+ <TYPE>Scilab Function</TYPE>
+ <DATE>Nov 2000</DATE>
+ <SHORT_DESCRIPTION name="genlib"> build library from functions in given directory</SHORT_DESCRIPTION>
+ <CALLING_SEQUENCE>
+ <CALLING_SEQUENCE_ITEM>genlib(lib_name [[,dir_name, [ Force [,verb [,Names]]]]) </CALLING_SEQUENCE_ITEM>
+ <CALLING_SEQUENCE_ITEM>genlib(lib_name [,path=dir_name] [,verbose=verb]
+ [,force=Force] [,names=Names]) </CALLING_SEQUENCE_ITEM>
+ </CALLING_SEQUENCE>
+ <PARAM>
+ <PARAM_INDENT>
+ <PARAM_ITEM>
+ <PARAM_NAME>lib_name: </PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>Scilab string. The variable name of the library to (re)create.</SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ <PARAM_ITEM>
+ <PARAM_NAME>dir_name: </PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>Scilab string. The name of the directory to look for
+ <VERB>.sci</VERB>-files. </SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ <PARAM_ITEM>
+ <PARAM_NAME>Force</PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>: boolean value (default value is <VERB>%f</VERB>). Set it to
+ <VERB>%f</VERB> to force the sci-files recompilation.</SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ <PARAM_ITEM>
+ <PARAM_NAME>verb</PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>: boolean values (default value is <VERB>%f</VERB>). Set it to
+ <VERB>%f</VERB> to get information.</SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ <PARAM_ITEM>
+ <PARAM_NAME>Names</PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>: a vector of strings, the names of function to include in the
+ library. By default all the sci-files are taken into account</SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ </PARAM_INDENT>
+ </PARAM>
+ <DESCRIPTION>
+ <P>For each <VERB>.sci</VERB> file in <VERB>dir_name</VERB> (or only those
+ specified by the <VERB>Names</VERB> argument), <VERB>genlib</VERB> executes a
+ <VERB>getf</VERB> and saves the functions to the corresponding <VERB>.bin</VERB>
+ file. The <VERB>.sci</VERB> file must not contain anything but Scilab
+ functions. If a <VERB>.bin</VERB> file is newer than the associated
+ <VERB>.sci</VERB> file, <VERB>genlib</VERB> does not translate and save the file.</P>
+
+ <P>This default behaviour can be changed if <VERB>force</VERB> is given and
+ set to <VERB>%t</VERB>. In this latter case the recompilation is always
+ performed for each <VERB>.sci</VERB> file.</P>
+
+ <P>When all <VERB>.sci</VERB> files have been processed, <VERB>genlib</VERB> creates a
+ library variable named <VERB>lib_name</VERB> and saves it in the file
+ <VERB>lib</VERB> in <VERB>dir_name</VERB>. If the Scilab variable
+ <VERB>lib_name</VERB> is not protected (see <LINK>predef</LINK>) this
+ variable is updated.</P>
+
+ <P>If <VERB>verbose</VERB> is et to <VERB>%t</VERB> information are displayed during
+ the build process.</P>
+
+ <P>If <VERB>dir_name</VERB> argument is not given and if <VERB>lib_name</VERB>
+ Scilab variable exists and it is a library dir_name is taken equal to the
+ <VERB>lib_name</VERB> library path (update mode).</P>
+
+ </DESCRIPTION>
+ <SECTION label="Restrictions">
+ <P>
+ Scilab tacitly assumes that file <VERB>foo.sci</VERB> defines at least a
+ function named <VERB>foo</VERB>. If subsidiary functions are included,
+ they are made known to Scilab only after the function <VERB>foo</VERB>
+ had been referenced.</P>
+ </SECTION>
+ <SEE_ALSO>
+ <SEE_ALSO_ITEM>
+ <LINK>getd</LINK>
+ </SEE_ALSO_ITEM>
+
+ <SEE_ALSO_ITEM>
+ <LINK>getf</LINK>
+ </SEE_ALSO_ITEM>
+ <SEE_ALSO_ITEM>
+ <LINK>save</LINK>
+ </SEE_ALSO_ITEM>
+ <SEE_ALSO_ITEM>
+ <LINK>lib</LINK>
+ </SEE_ALSO_ITEM>
+ </SEE_ALSO>
+</MAN>
--- /dev/null
+mode(-1); //force silent execution
+path=get_absolute_file_path('helpbuildereng.sce');//get the absolute path of this file
+add_help_chapter("Functions",path);//add help chapter
+xmltohtml(path,"Functions");
+//clear the variable stack
+clear path add_help_chapter get_absolute_file_path;
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
+<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
+<MAN>
+ <LANGUAGE>eng</LANGUAGE>
+ <TITLE>genlib</TITLE>
+ <TYPE>Scilab Function</TYPE>
+ <DATE>Nov 2000</DATE>
+ <SHORT_DESCRIPTION name="genlib"> build library from functions in given directory</SHORT_DESCRIPTION>
+ <CALLING_SEQUENCE>
+ <CALLING_SEQUENCE_ITEM>genlib(lib_name [[,dir_name, [ Force [,verb [,Names]]]]) </CALLING_SEQUENCE_ITEM>
+ <CALLING_SEQUENCE_ITEM>genlib(lib_name [,path=dir_name] [,verbose=verb]
+ [,force=Force] [,names=Names]) </CALLING_SEQUENCE_ITEM>
+ </CALLING_SEQUENCE>
+ <PARAM>
+ <PARAM_INDENT>
+ <PARAM_ITEM>
+ <PARAM_NAME>lib_name: </PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>Scilab string. The variable name of the library to (re)create.</SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ <PARAM_ITEM>
+ <PARAM_NAME>dir_name: </PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>Scilab string. The name of the directory to look for
+ <VERB>.sci</VERB>-files. </SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ <PARAM_ITEM>
+ <PARAM_NAME>Force</PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>: boolean value (default value is <VERB>%f</VERB>). Set it to
+ <VERB>%f</VERB> to force the sci-files recompilation.</SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ <PARAM_ITEM>
+ <PARAM_NAME>verb</PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>: boolean values (default value is <VERB>%f</VERB>). Set it to
+ <VERB>%f</VERB> to get information.</SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ <PARAM_ITEM>
+ <PARAM_NAME>Names</PARAM_NAME>
+ <PARAM_DESCRIPTION>
+ <SP>: a vector of strings, the names of function to include in the
+ library. By default all the sci-files are taken into account</SP>
+ </PARAM_DESCRIPTION>
+ </PARAM_ITEM>
+ </PARAM_INDENT>
+ </PARAM>
+ <DESCRIPTION>
+ <P>For each <VERB>.sci</VERB> file in <VERB>dir_name</VERB> (or only those
+ specified by the <VERB>Names</VERB> argument), <VERB>genlib</VERB> executes a
+ <VERB>getf</VERB> and saves the functions to the corresponding <VERB>.bin</VERB>
+ file. The <VERB>.sci</VERB> file must not contain anything but Scilab
+ functions. If a <VERB>.bin</VERB> file is newer than the associated
+ <VERB>.sci</VERB> file, <VERB>genlib</VERB> does not translate and save the file.</P>
+
+ <P>This default behaviour can be changed if <VERB>force</VERB> is given and
+ set to <VERB>%t</VERB>. In this latter case the recompilation is always
+ performed for each <VERB>.sci</VERB> file.</P>
+
+ <P>When all <VERB>.sci</VERB> files have been processed, <VERB>genlib</VERB> creates a
+ library variable named <VERB>lib_name</VERB> and saves it in the file
+ <VERB>lib</VERB> in <VERB>dir_name</VERB>. If the Scilab variable
+ <VERB>lib_name</VERB> is not protected (see <LINK>predef</LINK>) this
+ variable is updated.</P>
+
+ <P>If <VERB>verbose</VERB> is et to <VERB>%t</VERB> information are displayed during
+ the build process.</P>
+
+ <P>If <VERB>dir_name</VERB> argument is not given and if <VERB>lib_name</VERB>
+ Scilab variable exists and it is a library dir_name is taken equal to the
+ <VERB>lib_name</VERB> library path (update mode).</P>
+
+ </DESCRIPTION>
+ <SECTION label="Restrictions">
+ <P>
+ Scilab tacitly assumes that file <VERB>foo.sci</VERB> defines at least a
+ function named <VERB>foo</VERB>. If subsidiary functions are included,
+ they are made known to Scilab only after the function <VERB>foo</VERB>
+ had been referenced.</P>
+ </SECTION>
+ <SEE_ALSO>
+ <SEE_ALSO_ITEM>
+ <LINK>getd</LINK>
+ </SEE_ALSO_ITEM>
+
+ <SEE_ALSO_ITEM>
+ <LINK>getf</LINK>
+ </SEE_ALSO_ITEM>
+ <SEE_ALSO_ITEM>
+ <LINK>save</LINK>
+ </SEE_ALSO_ITEM>
+ <SEE_ALSO_ITEM>
+ <LINK>lib</LINK>
+ </SEE_ALSO_ITEM>
+ </SEE_ALSO>
+</MAN>
--- /dev/null
+mode(-1); //force silent execution
+path=get_absolute_file_path('helpbuilderfr.sce');//get the absolute path of this file
+add_help_chapter("Fonctions",path);//add help chapter
+xmltohtml(path,"Fonctions",'html-rev.xsl');
+//clear the variable stack
+clear path add_help_chapter get_absolute_file_path;
\ No newline at end of file
--- /dev/null
+mode(-1) //force silent execution
+
+cd 'eng'
+exec helpbuildereng.sce
+cd '..'
+
+cd 'fr'
+exec helpbuilderfr.sce
+cd '..'
--- /dev/null
+licence file
+
+INRIA 2006
\ No newline at end of file
//------------------------------------
// Allan CORNET INRIA 2005
//------------------------------------
-SCI=getenv('SCI');
-// genmacros necessaire pour le Bootstrap de la compilation des macros
-exec('SCI/util/genmacros.sce');
-//------------------------------------
SCI=getenv('SCI');
TMPDIR=getenv('TMPDIR');
//------------------------------------
-genlib('utillib','SCI/macros/util');
+genlib('functionslib','SCI/modules/functions/macros');
//------------------------------------
--- /dev/null
+readme.txt about functions module
\ No newline at end of file
//Load functions librarie
load('SCI/modules/helptools/macros/lib');
// ====================================================================
+
//add help chapter
global LANGUAGE
+load('SCI/modules/fileio/macros/get_absolute_file_path.bin');
path = get_absolute_file_path('helptools.start');
+clearfun get_absolute_file_path
+
path = getshortpathname(path);
if LANGUAGE == 'fr' then
global LANGUAGE\r
\r
if LANGUAGE == 'fr' then\r
- //del_help_chapter("localization");\r
+ del_help_chapter("localization");\r
elseif LANGUAGE == 'eng' then\r
- //del_help_chapter("localization");\r
+ del_help_chapter("localization");\r
end\r
\r
clear del_help_chapter LANGUAGE;\r
// Copyright INRIA 2006\r
// ====================================================================\r
//Load functions librarie\r
-//load('SCI/modules/localization/macros/lib');\r
+load('SCI/modules/localization/macros/lib');\r
// ====================================================================\r
//add help chapter\r
global LANGUAGE\r
\r
if LANGUAGE == 'fr' then\r
path = pathconvert(part(path,1:(length(path)-5))+'/help/fr',%f,%f);\r
- //add_help_chapter("localization",path);\r
+ add_help_chapter("localization",path);\r
elseif LANGUAGE == 'eng' then\r
path = pathconvert(part(path,1:(length(path)-5))+'/help/eng',%f,%f);\r
- //add_help_chapter("localization",path);\r
+ add_help_chapter("localization",path);\r
end\r
\r
clear path get_absolute_file_path add_help_chapter LANGUAGE;\r
SCI=getenv('SCI'); \r
TMPDIR=getenv('TMPDIR');\r
//------------------------------------\r
-//genlib('localizationlib','SCI/modules/localization/macros');\r
+genlib('localizationlib','SCI/modules/localization/macros');\r
//------------------------------------\r
SCI=getenv('SCI');
TMPDIR=getenv('TMPDIR');
//------------------------------------
-genlib('metalib','SCI/modules/metanet/macros');
+genlib('metanetlib','SCI/modules/metanet/macros');
//------------------------------------
//this script is used to compile Modelica models of scicos implicit
//blocks
//mprintf('Compiling Modelica models in '+pwd()')
-load('SCI/macros/util/lib')
+load('SCI/modules/core/macros/lib')
load('SCI/modules/overloading/macros/lib')
load('SCI/modules/integer/macros/lib')
load('SCI/modules/elementaries_functions/macros/lib')
PWD = getcwd()
// loads modules ======================================================
-load('SCI/macros/util/lib')
exec("SCI/modules/helptools/etc/helptools.start",-1);
+exec("SCI/modules/fileio/etc/fileio.start",-1);
+exec("SCI/modules/functions/etc/functions.start",-1);
exec("SCI/modules/core/etc/core.start",-1);
exec("SCI/modules/io/etc/io.start",-1);
exec("SCI/modules/arnoldi/etc/arnoldi.start",-1);
exec("SCI/modules/differential_equations/etc/differential_equations.start",-1);
exec("SCI/modules/double/etc/double.start",-1);
exec("SCI/modules/elementaries_functions/etc/elementaries_functions.start",-1);
-exec("SCI/modules/fileio/etc/fileio.start",-1);
+
exec("SCI/modules/graphics/etc/graphics.start",-1);
exec("SCI/modules/gui/etc/gui.start",-1);
exec("SCI/modules/incremental_link/etc/incremental_link.start",-1);
MSDOS=(getos()=='Windows')
if MSDOS then
CurrentDir=pwd();
- chdir(SCI+'/macros/util');
+ chdir(SCI+'/modules/functions/macros');
unix('if EXIST ""'+'genlib.bin'+'"" del /F ""'+'genlib.bin'+'""');
+ chdir(SCI+'/modules/fileio/macros');
unix('if EXIST ""'+'fileparts.bin'+'"" del /F ""'+'fileparts.bin'+'""');
+ chdir(SCI+'/modules/core/macros');
unix('if EXIST ""'+'getshell.bin'+'"" del /F ""'+'getshell.bin'+'""');
+ chdir(SCI+'/modules/fileio/macros');
unix('if EXIST ""'+'pathconvert.bin'+'"" del /F ""'+'pathconvert.bin'+'""');
+ chdir(SCI+'/modules/string/macros');
unix('if EXIST ""'+'stripblanks.bin'+'"" del /F ""'+'stripblanks.bin'+'""');
+ chdir(SCI+'/modules/fileio/macros');
unix('if EXIST ""'+'listfiles.bin'+'"" del /F ""'+'listfiles.bin'+'""');
chdir(SCI+'/modules/io/macros');
unix('if EXIST ""'+'unix_g.bin'+'"" del /F ""'+'unix_g.bin'+'""');
- chdir(CurrentDir);
- chdir(SCI+'/macros/util');
+ chdir(SCI+'/modules/core/macros');
unix('if EXIST ""'+'OS_Version.bin'+'"" del /F ""'+'OS_Version.bin'+'""');
+ chdir(SCI+'/modules/fileio/macros');
unix('if EXIST ""'+'isdir.bin'+'"" del /F ""'+'isdir.bin'+'""');
unix('if EXIST ""'+'basename.bin'+'"" del /F ""'+'basename.bin'+'""');
-
chdir(SCI+'/modules/fileio/macros');
unix('if EXIST ""'+'mputl.bin'+'"" del /F ""'+'mputl.bin'+'""');
-
chdir(SCI+'/modules/overloading/macros');
unix('if EXIST ""'+'%c_a_c.bin'+'"" del /F ""'+'%c_a_c.bin'+'""');
chdir(CurrentDir);
else
- unix('rm -f '+SCI+'/macros/util/genlib.bin');
- unix('rm -f '+SCI+'/macros/util/fileparts.bin');
- unix('rm -f '+SCI+'/macros/util/getshell.bin');
- unix('rm -f '+SCI+'/macros/util/pathconvert.bin');
- unix('rm -f '+SCI+'/macros/util/stripblanks.bin');
- unix('rm -f '+SCI+'/macros/util/listfiles.bin');
+ unix('rm -f '+SCI+'/modules/functions/macros/genlib.bin');
+ unix('rm -f '+SCI+'/modules/fileio/macros/fileparts.bin');
+ unix('rm -f '+SCI+'/modules/core/macros/getshell.bin');
+ unix('rm -f '+SCI+'/modules/fileio/macros/pathconvert.bin');
+ unix('rm -f '+SCI+'/modules/string/macros/stripblanks.bin');
+ unix('rm -f '+SCI+'/modules/fileio/macros/listfiles.bin');
unix('rm -f '+SCI+'/modules/io/macros/unix_g.bin');
- unix('rm -f '+SCI+'/macros/util/OS_Version.bin');
- unix('rm -f '+SCI+'/macros/util/isdir.bin');
+ unix('rm -f '+SCI+'/modules/core/macros/OS_Version.bin');
+ unix('rm -f '+SCI+'/modules/fileio/macros/isdir.bin');
unix('rm -f '+SCI+'/modules/overloading/macros/%c_a_c.bin');
- unix('rm -f '+SCI+'/macros/util/basename.bin');
+ unix('rm -f '+SCI+'/modules/fileio/macros/basename.bin');
unix('rm -f '+SCI+'/modules/fileio/macros/mputl.bin');
end
clear MSDOS;
scilabstart="SCI=getenv(''SCI'');MSDOS=(getos()==''Windows'');TMPDIR=getenv(''TMPDIR'');"
scilabquit='clear;quit;'
- cmd=scilabstart+'getf(SCI+''/macros/util/OS_Version.sci'');save(SCI+''/macros/util/OS_Version.bin'');'+scilabquit
- unix(startline+cmd+endline);
- unix(SCI+LineToDo);
-
- cmd=scilabstart+'getf(SCI+''/macros/util/OS_Version.sci'');save(SCI+''/macros/util/OS_Version.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/core/macros/OS_Version.sci'');save(SCI+''/modules/core/macros/OS_Version.bin'');'+scilabquit
unix(startline+cmd+endline);
unix(SCI+LineToDo);
unix(startline+cmd+endline);
unix(SCI+LineToDo);
- cmd=scilabstart+'getf(SCI+''/macros/util/basename.sci'');save(SCI+''/macros/util/basename.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/fileio/macros/basename.sci'');save(SCI+''/modules/fileio/macros/basename.bin'');'+scilabquit;
unix(startline+cmd+endline);
unix(SCI+LineToDo);
unix(startline+cmd+endline);
unix(SCI+LineToDo);
- cmd=scilabstart+'getf(SCI+''/macros/util/isdir.sci'');save(SCI+''/macros/util/isdir.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/fileio/macros/isdir.sci'');save(SCI+''/modules/fileio/macros/isdir.bin'');'+scilabquit;
unix(startline+cmd+endline);
unix(SCI+LineToDo);
unix(startline+cmd+endline);
unix(SCI+LineToDo);
- cmd=scilabstart+'getf(SCI+''/macros/util/listfiles.sci'');save(SCI+''/macros/util/listfiles.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/fileio/macros/listfiles.sci'');save(SCI+''/modules/fileio/macros/listfiles.bin'');'+scilabquit;
unix(startline+cmd+endline);
unix(SCI+LineToDo);
- cmd=scilabstart+'getf(SCI+''/macros/util/stripblanks.sci'');save(SCI+''/macros/util/stripblanks.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/string/macros/stripblanks.sci'');save(SCI+''/modules/string/macros/stripblanks.bin'');'+scilabquit;
unix(startline+cmd+endline);
unix(SCI+LineToDo);
- cmd=scilabstart+'getf(SCI+''/macros/util/pathconvert.sci'');save(SCI+''/macros/util/pathconvert.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/fileio/macros/pathconvert.sci'');save(SCI+''/modules/fileio/macros/pathconvert.bin'');'+scilabquit;
unix(startline+cmd+endline);
unix(SCI+LineToDo);
- cmd=scilabstart+'getf(SCI+''/macros/util/fileparts.sci'');save(SCI+''/macros/util/fileparts.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/fileio/macros/fileparts.sci'');save(SCI+''/modules/fileio/macros/fileparts.bin'');'+scilabquit;
unix(startline+cmd+endline);
unix(SCI+LineToDo);
- cmd=scilabstart+'getf(SCI+''/macros/util/getshell.sci'');save(SCI+''/macros/util/getshell.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/core/macros/getshell.sci'');save(SCI+''/modules/core/macros/getshell.bin'');'+scilabquit;
unix(startline+cmd+endline);
unix(SCI+LineToDo);
- cmd=scilabstart+'getf(SCI+''/macros/util/genlib.sci'');save(SCI+''/macros/util/genlib.bin'');'+scilabquit;
+ cmd=scilabstart+'getf(SCI+''/modules/functions/macros/genlib.sci'');save(SCI+''/modules/functions/macros/genlib.bin'');'+scilabquit;
unix(startline+cmd+endline);
unix(SCI+LineToDo);
BuildMinimalMacros();
clear BuildMinimalMacros;
SCI=getenv('SCI');
-load(SCI+'/macros/util/fileparts.bin');
-load(SCI+'/macros/util/getshell.bin');
-load(SCI+'/macros/util/pathconvert.bin');
-load(SCI+'/macros/util/stripblanks.bin');
-load(SCI+'/macros/util/listfiles.bin');
+load(SCI+'/modules/fileio/macros/fileparts.bin');
+load(SCI+'/modules/core/macros/getshell.bin');
+load(SCI+'/modules/fileio/macros/pathconvert.bin');
+load(SCI+'/modules/string/macros/stripblanks.bin');
+load(SCI+'/modules/fileio/macros/listfiles.bin');
load(SCI+'/modules/io/macros/unix_g.bin');
-load(SCI+'/macros/util/OS_Version.bin');
-load(SCI+'/macros/util/isdir.bin');
+load(SCI+'/modules/core/macros/OS_Version.bin');
+load(SCI+'/modules/fileio/macros/isdir.bin');
load(SCI+'/modules/overloading/macros/%c_a_c.bin');
-load(SCI+'/macros/util/basename.bin');
+load(SCI+'/modules/fileio/macros/basename.bin');
load(SCI+'/modules/fileio/macros/mputl.bin');
-load(SCI+'/macros/util/genlib.bin');
+load(SCI+'/modules/functions/macros/genlib.bin');
clear SCI;
// Need to remove macros binary files before build by genlib
RemoveMinimalMacros();