add a feature to re-build only a scilab macros library
Allan Cornet [Mon, 8 Oct 2007 13:06:58 +0000 (13:06 +0000)]
in macros directory :
../../../bin/scilex -nwni -ns -e exec('buildmacros.sce');quit;
(Windows buildmacros.bat,cleanmacros.bat shorcuts)

238 files changed:
scilab/modules/arnoldi/arnoldi.iss
scilab/modules/arnoldi/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/arnoldi/macros/buildmacros.sce
scilab/modules/arnoldi/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/boolean/boolean.iss
scilab/modules/boolean/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/boolean/macros/buildmacros.sce
scilab/modules/boolean/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/cacsd/cacsd.iss
scilab/modules/cacsd/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/cacsd/macros/buildmacros.sce
scilab/modules/cacsd/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/compatibility_functions/compatibility_functions.iss
scilab/modules/compatibility_functions/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/compatibility_functions/macros/buildmacros.sce
scilab/modules/compatibility_functions/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/completion/completion.iss
scilab/modules/completion/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/completion/macros/buildmacros.sce
scilab/modules/completion/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/console/console.iss
scilab/modules/console/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/console/macros/buildmacros.sce
scilab/modules/console/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/core/core.iss
scilab/modules/core/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/core/macros/buildmacros.sce
scilab/modules/core/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/data_structures/data_structures.iss
scilab/modules/data_structures/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/data_structures/macros/buildmacros.sce
scilab/modules/data_structures/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/development_tools/development_tools.iss
scilab/modules/development_tools/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/development_tools/macros/buildmacros.sce
scilab/modules/development_tools/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/differential_equations/differential_equations.iss
scilab/modules/differential_equations/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/differential_equations/macros/buildmacros.sce
scilab/modules/differential_equations/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/double/double.iss
scilab/modules/double/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/double/macros/buildmacros.sce
scilab/modules/double/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/elementaries_functions/elementaries_functions.iss
scilab/modules/elementaries_functions/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/elementaries_functions/macros/buildmacros.sce
scilab/modules/elementaries_functions/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/fftw/fftw.iss
scilab/modules/fftw/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/fftw/macros/buildmacros.sce
scilab/modules/fftw/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/fileio/fileio.iss
scilab/modules/fileio/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/fileio/macros/buildmacros.sce
scilab/modules/fileio/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/functions/functions.iss
scilab/modules/functions/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/functions/macros/buildmacros.sce
scilab/modules/functions/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/functions/scripts/buildmacros/buildmacros.sce
scilab/modules/functions/scripts/buildmacros/loadgenlib.sce [new file with mode: 0644]
scilab/modules/graphics/graphics.iss
scilab/modules/graphics/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/graphics/macros/buildmacros.sce
scilab/modules/graphics/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/gui/gui.iss
scilab/modules/gui/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/gui/macros/buildmacros.sce
scilab/modules/gui/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/helptools/helptools.iss
scilab/modules/helptools/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/helptools/macros/buildmacros.sce
scilab/modules/helptools/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/history_manager/history_manager.iss
scilab/modules/history_manager/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/history_manager/macros/buildmacros.sce
scilab/modules/history_manager/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/incremental_link/incremental_link.iss
scilab/modules/incremental_link/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/incremental_link/macros/buildmacros.sce
scilab/modules/incremental_link/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/integer/integer.iss
scilab/modules/integer/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/integer/macros/buildmacros.sce
scilab/modules/integer/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/interpolation/etc/interpolation.start
scilab/modules/interpolation/interpolation.iss
scilab/modules/interpolation/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/interpolation/macros/buildmacros.sce
scilab/modules/interpolation/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/intersci/intersci.iss
scilab/modules/intersci/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/intersci/macros/buildmacros.sce
scilab/modules/intersci/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/io/io.iss
scilab/modules/io/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/io/macros/buildmacros.sce
scilab/modules/io/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/javasci/javasci.iss
scilab/modules/javasci/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/javasci/macros/buildmacros.sce
scilab/modules/javasci/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/jvm/jvm.iss
scilab/modules/jvm/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/jvm/macros/buildmacros.sce
scilab/modules/jvm/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/linear_algebra/linear_algebra.iss
scilab/modules/linear_algebra/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/linear_algebra/macros/buildmacros.sce
scilab/modules/linear_algebra/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/localization/localization.iss
scilab/modules/localization/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/localization/macros/buildmacros.sce
scilab/modules/localization/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/m2sci/m2sci.iss
scilab/modules/m2sci/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/m2sci/macros/buildmacros.sce
scilab/modules/m2sci/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/m2sci/macros/kernel/buildmacros.sce
scilab/modules/m2sci/macros/percent/buildmacros.sce
scilab/modules/m2sci/macros/sci_files/buildmacros.sce
scilab/modules/maple2scilab/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/maple2scilab/macros/buildmacros.sce
scilab/modules/maple2scilab/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/maple2scilab/maple2scilab.iss
scilab/modules/metanet/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/metanet/macros/buildmacros.sce
scilab/modules/metanet/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/metanet/metanet.iss
scilab/modules/mexlib/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/mexlib/macros/buildmacros.sce
scilab/modules/mexlib/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/mexlib/mexlib.iss
scilab/modules/optimization/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/optimization/macros/buildmacros.sce
scilab/modules/optimization/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/optimization/optimization.iss
scilab/modules/others/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/others/macros/buildmacros.sce
scilab/modules/others/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/others/others.iss
scilab/modules/overloading/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/overloading/macros/buildmacros.sce
scilab/modules/overloading/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/overloading/overloading.iss
scilab/modules/polynomials/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/polynomials/macros/buildmacros.sce
scilab/modules/polynomials/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/polynomials/polynomials.iss
scilab/modules/pvm/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/pvm/macros/buildmacros.sce
scilab/modules/pvm/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/pvm/pvm.iss
scilab/modules/randlib/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/randlib/macros/buildmacros.sce
scilab/modules/randlib/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/randlib/randlib.iss
scilab/modules/renderer/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/renderer/macros/buildmacros.sce
scilab/modules/renderer/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/renderer/renderer.iss
scilab/modules/sci2c/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/sci2c/macros/buildmacros.sce
scilab/modules/sci2c/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/sci2c/sci2c.iss
scilab/modules/scicos/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/scicos/macros/buildmacros.sce
scilab/modules/scicos/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/scicos/macros/scicos/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Branching/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Electrical/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Events/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Hydraulics/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Linear/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Misc/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/NonLinear/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/PDE/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Sinks/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Sources/buildmacros.sce
scilab/modules/scicos/macros/scicos_blocks/Threshold/buildmacros.sce
scilab/modules/scicos/scicos.iss
scilab/modules/scilab2fortran/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/scilab2fortran/macros/buildmacros.sce
scilab/modules/scilab2fortran/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/scilab2fortran/scilab2fortran.iss
scilab/modules/scipad/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/scipad/macros/buildmacros.sce
scilab/modules/scipad/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/scipad/scipad.iss
scilab/modules/shell/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/shell/macros/buildmacros.sce
scilab/modules/shell/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/shell/shell.iss
scilab/modules/signal_processing/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/signal_processing/macros/buildmacros.sce
scilab/modules/signal_processing/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/signal_processing/signal_processing.iss
scilab/modules/sound/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/sound/macros/buildmacros.sce
scilab/modules/sound/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/sound/sound.iss
scilab/modules/sparse/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/sparse/macros/buildmacros.sce
scilab/modules/sparse/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/sparse/sparse.iss
scilab/modules/special_functions/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/special_functions/macros/buildmacros.sce
scilab/modules/special_functions/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/special_functions/special_functions.iss
scilab/modules/statistics/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/statistics/macros/buildmacros.sce
scilab/modules/statistics/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/statistics/statistics.iss
scilab/modules/string/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/string/macros/buildmacros.sce
scilab/modules/string/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/string/string.iss
scilab/modules/symbolic/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/symbolic/macros/buildmacros.sce
scilab/modules/symbolic/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/symbolic/symbolic.iss
scilab/modules/tclsci/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/tclsci/macros/buildmacros.sce
scilab/modules/tclsci/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/tclsci/tclsci.iss
scilab/modules/texmacs/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/texmacs/macros/buildmacros.sce
scilab/modules/texmacs/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/texmacs/texmacs.iss
scilab/modules/time/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/time/macros/buildmacros.sce
scilab/modules/time/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/time/time.iss
scilab/modules/windows_tools/macros/buildmacros.bat [new file with mode: 0644]
scilab/modules/windows_tools/macros/buildmacros.sce
scilab/modules/windows_tools/macros/cleanmacros.bat [new file with mode: 0644]
scilab/modules/windows_tools/windows_tools.iss

index 2d67c8a..60fb6da 100644 (file)
@@ -38,6 +38,8 @@ Source: modules\{#ARNOLDI}\locales\*.xml; DestDir: {app}\modules\{#ARNOLDI}\loca
 ;Source: modules\{#ARNOLDI}\macros\*.bin; DestDir: {app}\modules\{#ARNOLDI}\macros; Components: {#COMPN_ARNOLDI}
 ;Source: modules\{#ARNOLDI}\macros\*.sci; DestDir: {app}\modules\{#ARNOLDI}\macros; Components: {#COMPN_ARNOLDI}
 Source: modules\{#ARNOLDI}\macros\buildmacros.sce; DestDir: {app}\modules\{#ARNOLDI}\macros; Components: {#COMPN_ARNOLDI}
+Source: modules\{#ARNOLDI}\macros\buildmacros.bat; DestDir: {app}\modules\{#ARNOLDI}\macros; Components: {#COMPN_ARNOLDI}
+Source: modules\{#ARNOLDI}\macros\cleanmacros.bat; DestDir: {app}\modules\{#ARNOLDI}\macros; Components: {#COMPN_ARNOLDI}
 ;
 ;Source: modules\{#ARNOLDI}\demos\*.*; DestDir: {app}\modules\{#ARNOLDI}\demos; Components: {#COMPN_ARNOLDI}
 ;
diff --git a/scilab/modules/arnoldi/macros/buildmacros.bat b/scilab/modules/arnoldi/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..8262392
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;\r
index 104d06d..6800ecc 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('arnoldilib','SCI/modules/arnoldi/macros');
 //------------------------------------
diff --git a/scilab/modules/arnoldi/macros/cleanmacros.bat b/scilab/modules/arnoldi/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index ff5581f..a070a05 100644 (file)
@@ -34,6 +34,8 @@ Source: modules\{#BOOLEAN}\includes\*.h; DestDir: {app}\modules\{#BOOLEAN}\inclu
 ;Source: modules\{#BOOLEAN}\macros\*.bin; DestDir: {app}\modules\{#BOOLEAN}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#BOOLEAN}\macros\*.sci; DestDir: {app}\modules\{#BOOLEAN}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#BOOLEAN}\macros\buildmacros.sce; DestDir: {app}\modules\{#BOOLEAN}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#BOOLEAN}\macros\buildmacros.bat; DestDir: {app}\modules\{#BOOLEAN}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#BOOLEAN}\macros\cleanmacros.bat; DestDir: {app}\modules\{#BOOLEAN}\macros; Components: {#COMPN_SCILAB}
 ;
 ;Source: modules\{#BOOLEAN}\demos\*.*; DestDir: {app}\modules\{#BOOLEAN}\demos; Components: {#COMPN_SCILAB}
 ;
diff --git a/scilab/modules/boolean/macros/buildmacros.bat b/scilab/modules/boolean/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 7d5c9d0..4865834 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('booleanlib','SCI/modules/boolean/macros');
 //------------------------------------
diff --git a/scilab/modules/boolean/macros/cleanmacros.bat b/scilab/modules/boolean/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 3f93c3d..a745656 100644 (file)
@@ -36,6 +36,8 @@ Source: modules\{#CACSD}\macros\names; DestDir: {app}\modules\{#CACSD}\macros; C
 Source: modules\{#CACSD}\macros\*.bin; DestDir: {app}\modules\{#CACSD}\macros; Components: {#COMPN_CACSD}
 Source: modules\{#CACSD}\macros\*.sci; DestDir: {app}\modules\{#CACSD}\macros; Components: {#COMPN_CACSD}
 Source: modules\{#CACSD}\macros\buildmacros.sce; DestDir: {app}\modules\{#CACSD}\macros; Components: {#COMPN_CACSD}
+Source: modules\{#CACSD}\macros\buildmacros.bat; DestDir: {app}\modules\{#CACSD}\macros; Components: {#COMPN_CACSD}
+Source: modules\{#CACSD}\macros\cleanmacros.bat; DestDir: {app}\modules\{#CACSD}\macros; Components: {#COMPN_CACSD}
 ;
 Source: modules\{#CACSD}\demos\*.*; DestDir: {app}\modules\{#CACSD}\demos; Flags: recursesubdirs; Components: {#COMPN_CACSD}
 ;
diff --git a/scilab/modules/cacsd/macros/buildmacros.bat b/scilab/modules/cacsd/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 5ed6731..79ad8f0 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('cacsdlib','SCI/modules/cacsd/macros');
 //------------------------------------
diff --git a/scilab/modules/cacsd/macros/cleanmacros.bat b/scilab/modules/cacsd/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 1f415b9..91e7e47 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#COMPATFUNCTIONS}\macros\names; DestDir: {app}\modules\{#COMPAT
 Source: modules\{#COMPATFUNCTIONS}\macros\*.bin; DestDir: {app}\modules\{#COMPATFUNCTIONS}\macros; Components: {#COMPN_COMPATFUNCTIONS}
 Source: modules\{#COMPATFUNCTIONS}\macros\*.sci; DestDir: {app}\modules\{#COMPATFUNCTIONS}\macros; Components: {#COMPN_COMPATFUNCTIONS}
 Source: modules\{#COMPATFUNCTIONS}\macros\buildmacros.sce; DestDir: {app}\modules\{#COMPATFUNCTIONS}\macros; Components: {#COMPN_COMPATFUNCTIONS}
+Source: modules\{#COMPATFUNCTIONS}\macros\buildmacros.bat; DestDir: {app}\modules\{#COMPATFUNCTIONS}\macros; Components: {#COMPN_COMPATFUNCTIONS}
+Source: modules\{#COMPATFUNCTIONS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#COMPATFUNCTIONS}\macros; Components: {#COMPN_COMPATFUNCTIONS}
 ;
 ;Source: modules\{#COMPATFUNCTIONS}\demos\*.*; DestDir: {app}\modules\{#COMPATFUNCTIONS}\demos; Flags: recursesubdirs; Components: {#COMPN_COMPATFUNCTIONS}
 ;
diff --git a/scilab/modules/compatibility_functions/macros/buildmacros.bat b/scilab/modules/compatibility_functions/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 41f9e46..a483859 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Vincent COUVERT INRIA 2007
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('compatibility_functilib','SCI/modules/compatibility_functions/macros');
 //------------------------------------
diff --git a/scilab/modules/compatibility_functions/macros/cleanmacros.bat b/scilab/modules/compatibility_functions/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 98559a3..1495715 100644 (file)
@@ -36,6 +36,8 @@ Source: modules\{#COMPLETION}\help\*.htm; DestDir: {app}\modules\{#COMPLETION}\h
 Source: modules\{#COMPLETION}\locales\*.xml; DestDir: {app}\modules\{#COMPLETION}\locales; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 ;Source: modules\{#COMPLETION}\macros\buildmacros.sce; DestDir: {app}\modules\{#COMPLETION}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#COMPLETION}\macros\buildmacros.bat; DestDir: {app}\modules\{#COMPLETION}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#COMPLETION}\macros\cleanmacros.bat; DestDir: {app}\modules\{#COMPLETION}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#COMPLETION}\macros\*.bin; DestDir: {app}\modules\{#COMPLETION}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#COMPLETION}\macros\*.sci; DestDir: {app}\modules\{#COMPLETION}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#COMPLETION}\macros\lib; DestDir: {app}\modules\{#COMPLETION}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/completion/macros/buildmacros.bat b/scilab/modules/completion/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 0ad06ac..d90989e 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2007
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('completionlib','SCI/modules/completion/macros');
 //------------------------------------
diff --git a/scilab/modules/completion/macros/cleanmacros.bat b/scilab/modules/completion/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 99088e0..f75308d 100644 (file)
@@ -42,6 +42,8 @@ Source: modules\{#CONSOLE}\help\*.htm; DestDir: {app}\modules\{#CONSOLE}\help; F
 Source: modules\{#CONSOLE}\locales\*.xml; DestDir: {app}\modules\{#CONSOLE}\locales; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#CONSOLE}\macros\buildmacros.sce; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#CONSOLE}\macros\buildmacros.bat; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#CONSOLE}\macros\cleanmacros.bat; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#CONSOLE}\macros\*.bin; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#CONSOLE}\macros\*.sci; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#CONSOLE}\macros\lib; DestDir: {app}\modules\{#CONSOLE}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/console/macros/buildmacros.bat b/scilab/modules/console/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 67e0b35..16dfc2d 100644 (file)
@@ -2,5 +2,9 @@
 // Allan CORNET INRIA 2007
 // Vincent COUVERT INRIA 2007
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib("consolelib","SCI/modules/console/macros");
 //------------------------------------
diff --git a/scilab/modules/console/macros/cleanmacros.bat b/scilab/modules/console/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 0c7889f..11f96b2 100644 (file)
@@ -30,6 +30,8 @@ Source: modules\{#CORE}\locales\*.xml; DestDir: {app}\modules\{#CORE}\locales; F
 Source: modules\{#CORE}\includes\*.h; DestDir: {app}\modules\{#CORE}\includes; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#CORE}\macros\buildmacros.sce; DestDir: {app}\modules\{#CORE}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#CORE}\macros\buildmacros.bat; DestDir: {app}\modules\{#CORE}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#CORE}\macros\cleanmacros.bat; DestDir: {app}\modules\{#CORE}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#CORE}\macros\lib; DestDir: {app}\modules\{#CORE}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#CORE}\macros\names; DestDir: {app}\modules\{#CORE}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#CORE}\macros\*.bin; DestDir: {app}\modules\{#CORE}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/core/macros/buildmacros.bat b/scilab/modules/core/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index e6eb7b1..c56b746 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+   exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('corelib','SCI/modules/core/macros');
 //------------------------------------
diff --git a/scilab/modules/core/macros/cleanmacros.bat b/scilab/modules/core/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index eacc73a..7545265 100644 (file)
@@ -34,6 +34,8 @@ Source: modules\{#DATASTRUCT}\macros\names; DestDir: {app}\modules\{#DATASTRUCT}
 Source: modules\{#DATASTRUCT}\macros\*.bin; DestDir: {app}\modules\{#DATASTRUCT}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#DATASTRUCT}\macros\*.sci; DestDir: {app}\modules\{#DATASTRUCT}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#DATASTRUCT}\macros\buildmacros.sce; DestDir: {app}\modules\{#DATASTRUCT}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#DATASTRUCT}\macros\buildmacros.bat; DestDir: {app}\modules\{#DATASTRUCT}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#DATASTRUCT}\macros\cleanmacros.bat; DestDir: {app}\modules\{#DATASTRUCT}\macros; Components: {#COMPN_SCILAB}
 ;
 ;Source: modules\{#DATASTRUCT}\demos\*.*; DestDir: {app}\modules\{#DATASTRUCT}\demos; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
diff --git a/scilab/modules/data_structures/macros/buildmacros.bat b/scilab/modules/data_structures/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 3d41e0d..a2043be 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('data_structureslib','SCI/modules/data_structures/macros');
 //------------------------------------
diff --git a/scilab/modules/data_structures/macros/cleanmacros.bat b/scilab/modules/data_structures/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 055e179..b071d47 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#DEVTOOLS}\macros\names; DestDir: {app}\modules\{#DEVTOOLS}\mac
 Source: modules\{#DEVTOOLS}\macros\*.bin; DestDir: {app}\modules\{#DEVTOOLS}\macros; Components: {#COMPN_DEVTOOLS}
 Source: modules\{#DEVTOOLS}\macros\*.sci; DestDir: {app}\modules\{#DEVTOOLS}\macros; Components: {#COMPN_DEVTOOLS}
 Source: modules\{#DEVTOOLS}\macros\buildmacros.sce; DestDir: {app}\modules\{#DEVTOOLS}\macros; Components: {#COMPN_DEVTOOLS}
+Source: modules\{#DEVTOOLS}\macros\buildmacros.bat; DestDir: {app}\modules\{#DEVTOOLS}\macros; Components: {#COMPN_DEVTOOLS}
+Source: modules\{#DEVTOOLS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#DEVTOOLS}\macros; Components: {#COMPN_DEVTOOLS}
 ;
 ;Source: modules\{#DEVTOOLS}\demos\*.*; DestDir: {app}\modules\{#DEVTOOLS}\demos; Flags: recursesubdirs; Components: {#COMPN_DEVTOOLS}
 ;
diff --git a/scilab/modules/development_tools/macros/buildmacros.bat b/scilab/modules/development_tools/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index c4bff74..7bbcb3e 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('development_toolslib','SCI/modules/development_tools/macros');
 //------------------------------------
diff --git a/scilab/modules/development_tools/macros/cleanmacros.bat b/scilab/modules/development_tools/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 23e5975..93f1a27 100644 (file)
@@ -34,6 +34,8 @@ Source: modules\{#DIFFEQU}\macros\names; DestDir: {app}\modules\{#DIFFEQU}\macro
 Source: modules\{#DIFFEQU}\macros\*.bin; DestDir: {app}\modules\{#DIFFEQU}\macros; Flags: recursesubdirs; Components: {#COMPN_EQUDIF}
 Source: modules\{#DIFFEQU}\macros\*.sci; DestDir: {app}\modules\{#DIFFEQU}\macros; Flags: recursesubdirs; Components: {#COMPN_EQUDIF}
 Source: modules\{#DIFFEQU}\macros\buildmacros.sce; DestDir: {app}\modules\{#DIFFEQU}\macros; Flags: recursesubdirs; Components: {#COMPN_EQUDIF}
+Source: modules\{#DIFFEQU}\macros\buildmacros.bat; DestDir: {app}\modules\{#DIFFEQU}\macros; Flags: recursesubdirs; Components: {#COMPN_EQUDIF}
+Source: modules\{#DIFFEQU}\macros\cleanmacros.bat; DestDir: {app}\modules\{#DIFFEQU}\macros; Flags: recursesubdirs; Components: {#COMPN_EQUDIF}
 ;
 ;Source: modules\{#DIFFEQU}\demos\*.*; DestDir: {app}\modules\{#DIFFEQU}\demos; Flags: recursesubdirs; Components: {#COMPN_EQUDIF}
 ;
diff --git a/scilab/modules/differential_equations/macros/buildmacros.bat b/scilab/modules/differential_equations/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 46cb1c4..639f435 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('differential_equationlib','SCI/modules/differential_equations/macros');
 //------------------------------------
diff --git a/scilab/modules/differential_equations/macros/cleanmacros.bat b/scilab/modules/differential_equations/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 311798d..76ea14d 100644 (file)
@@ -28,6 +28,8 @@ Source: modules\{#DOUBLE}\locales\*.xml; DestDir: {app}\modules\{#DOUBLE}\locale
 ;Source: modules\{#DOUBLE}\includes\*.h; DestDir: {app}\modules\{#DOUBLE}\includes; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#DOUBLE}\macros\buildmacros.sce; DestDir: {app}\modules\{#DOUBLE}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#DOUBLE}\macros\buildmacros.bat; DestDir: {app}\modules\{#DOUBLE}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#DOUBLE}\macros\cleanmacros.bat; DestDir: {app}\modules\{#DOUBLE}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#DOUBLE}\macros\lib; DestDir: {app}\modules\{#DOUBLE}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#DOUBLE}\macros\names; DestDir: {app}\modules\{#DOUBLE}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#DOUBLE}\macros\*.bin; DestDir: {app}\modules\{#DOUBLE}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/double/macros/buildmacros.bat b/scilab/modules/double/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index aa3fdfa..3e57e8e 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('doublelib','SCI/modules/double/macros');
 //------------------------------------
diff --git a/scilab/modules/double/macros/cleanmacros.bat b/scilab/modules/double/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index c2d8f02..d41ef27 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#ELEMFUNCTIONS}\locales\*.xml; DestDir: {app}\modules\{#ELEMFUN
 Source: modules\{#ELEMFUNCTIONS}\includes\*.h; DestDir: {app}\modules\{#ELEMFUNCTIONS}\includes; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#ELEMFUNCTIONS}\macros\buildmacros.sce; DestDir: {app}\modules\{#ELEMFUNCTIONS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#ELEMFUNCTIONS}\macros\buildmacros.bat; DestDir: {app}\modules\{#ELEMFUNCTIONS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#ELEMFUNCTIONS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#ELEMFUNCTIONS}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#ELEMFUNCTIONS}\macros\lib; DestDir: {app}\modules\{#ELEMFUNCTIONS}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#ELEMFUNCTIONS}\macros\names; DestDir: {app}\modules\{#ELEMFUNCTIONS}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#ELEMFUNCTIONS}\macros\*.bin; DestDir: {app}\modules\{#ELEMFUNCTIONS}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/elementaries_functions/macros/buildmacros.bat b/scilab/modules/elementaries_functions/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index a0a4edf..bd21e5f 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('elementaries_functionlib','SCI/modules/elementaries_functions/macros');
 //------------------------------------
diff --git a/scilab/modules/elementaries_functions/macros/cleanmacros.bat b/scilab/modules/elementaries_functions/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 2bd78d4..6030730 100644 (file)
@@ -37,6 +37,8 @@ Source: modules\{#FFTW}\includes\*.h; Flags: recursesubdirs; DestDir: {app}\modu
 ;Source: modules\{#FFTW}\macros\*.bin; DestDir: {app}\modules\{#FFTW}\macros; Components: {#COMPN_FFTW}
 ;Source: modules\{#FFTW}\macros\*.sci; DestDir: {app}\modules\{#FFTW}\macros; Components: {#COMPN_FFTW}
 Source: modules\{#FFTW}\macros\buildmacros.sce; DestDir: {app}\modules\{#FFTW}\macros; Components: {#COMPN_FFTW}
+Source: modules\{#FFTW}\macros\buildmacros.bat; DestDir: {app}\modules\{#FFTW}\macros; Components: {#COMPN_FFTW}
+Source: modules\{#FFTW}\macros\cleanmacros.bat; DestDir: {app}\modules\{#FFTW}\macros; Components: {#COMPN_FFTW}
 ;
 Source: bin\fftw.dll; DestDir: {app}\bin; DestName: fftw.dll; Components: {#COMPN_FFTW}
 Source: bin\nofftw.dll; DestDir: {app}\bin; DestName: fftw.dll; Components: not ({#COMPN_FFTW})
diff --git a/scilab/modules/fftw/macros/buildmacros.bat b/scilab/modules/fftw/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 389e635..1bdf937 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('fftwlib','SCI/modules/fftw/macros');
 //------------------------------------
diff --git a/scilab/modules/fftw/macros/cleanmacros.bat b/scilab/modules/fftw/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 02232b1..3c11427 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#FILEIO}\includes\*.h; DestDir: {app}\modules\{#FILEIO}\include
 Source: bin\fileio.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#FILEIO}\macros\buildmacros.sce; DestDir: {app}\modules\{#FILEIO}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#FILEIO}\macros\buildmacros.bat; DestDir: {app}\modules\{#FILEIO}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#FILEIO}\macros\cleanmacros.bat; DestDir: {app}\modules\{#FILEIO}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#FILEIO}\macros\lib; DestDir: {app}\modules\{#FILEIO}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#FILEIO}\macros\names; DestDir: {app}\modules\{#FILEIO}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#FILEIO}\macros\*.bin; DestDir: {app}\modules\{#FILEIO}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/fileio/macros/buildmacros.bat b/scilab/modules/fileio/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 055a995..65a3784 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('fileiolib','SCI/modules/fileio/macros');
 //------------------------------------
diff --git a/scilab/modules/fileio/macros/cleanmacros.bat b/scilab/modules/fileio/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 74f27d9..d944c4a 100644 (file)
@@ -30,6 +30,8 @@ Source: modules\{#FUNCTIONS}\macros\names; DestDir: {app}\modules\{#FUNCTIONS}\m
 Source: modules\{#FUNCTIONS}\macros\*.bin; DestDir: {app}\modules\{#FUNCTIONS}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#FUNCTIONS}\macros\*.sci; DestDir: {app}\modules\{#FUNCTIONS}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#FUNCTIONS}\macros\buildmacros.sce; DestDir: {app}\modules\{#FUNCTIONS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#FUNCTIONS}\macros\buildmacros.bat; DestDir: {app}\modules\{#FUNCTIONS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#FUNCTIONS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#FUNCTIONS}\macros; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#FUNCTIONS}\xml\*.dtd; DestDir: {app}\modules\{#FUNCTIONS}\xml; Components: {#COMPN_SCILAB}
 ;
diff --git a/scilab/modules/functions/macros/buildmacros.bat b/scilab/modules/functions/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 2f9a5b6..3428549 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('functionslib','SCI/modules/functions/macros');
 //------------------------------------
diff --git a/scilab/modules/functions/macros/cleanmacros.bat b/scilab/modules/functions/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 16d26c3..84dc052 100644 (file)
@@ -4,17 +4,9 @@
 // ------------------------------------
 //warning('off'); // disable warnings
 // ------------------------------------
-exec(SCI+'/modules/fileio/macros/fileparts.sci');
-exec(SCI+'/modules/core/macros/getshell.sci');
-exec(SCI+'/modules/fileio/macros/pathconvert.sci');
-exec(SCI+'/modules/string/macros/stripblanks.sci');
-exec(SCI+'/modules/fileio/macros/listfiles.sci');
-exec(SCI+'/modules/io/macros/unix_g.sci');
-exec(SCI+'/modules/core/macros/OS_Version.sci');
-exec(SCI+'/modules/overloading/macros/%c_a_c.sci');
-exec(SCI+'/modules/fileio/macros/basename.sci');
-exec(SCI+'/modules/fileio/macros/mputl.sci');
-exec(SCI+'/modules/functions/macros/genlib.sci');
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
 // ------------------------------------
 lines(0);
 Directories=[];
diff --git a/scilab/modules/functions/scripts/buildmacros/loadgenlib.sce b/scilab/modules/functions/scripts/buildmacros/loadgenlib.sce
new file mode 100644 (file)
index 0000000..964f70d
--- /dev/null
@@ -0,0 +1,28 @@
+// ------------------------------------\r
+// Allan CORNET\r
+// INRIA 2007\r
+// ------------------------------------\r
+// Warning : order !!\r
+// list of  : filename , module\r
+listmacrostoload = ['fileparts','fileio';\r
+  'getshell','core';\r
+  'pathconvert','fileio';\r
+  'stripblanks','string';\r
+  'listfiles','fileio'\r
+  'unix_g','io';\r
+  'OS_Version','core';\r
+  '%c_a_c','overloading';\r
+  'basename','fileio';\r
+  'mputl','fileio';\r
+  'genlib','functions';\r
+  ];\r
+\r
+dim = size(listmacrostoload);\r
+\r
+for i = 1:dim(1)\r
+ clear(listmacrostoload(i,1));\r
+ exec(SCI+'/modules/'+listmacrostoload(i,2)+'/macros/'+listmacrostoload(i,1)+'.sci');\r
+end\r
+clear i;\r
+clear dim;\r
+// ------------------------------------
\ No newline at end of file
index c53836b..ff033a6 100644 (file)
@@ -35,6 +35,8 @@ Source: modules\{#GRAPHICS}\locales\*.xml; DestDir: {app}\modules\{#GRAPHICS}\lo
 Source: modules\{#GRAPHICS}\includes\*.h; DestDir: {app}\modules\{#GRAPHICS}\includes; Components: {#COMPN_GRAPHICS}
 ;
 Source: modules\{#GRAPHICS}\macros\buildmacros.sce; DestDir: {app}\modules\{#GRAPHICS}\macros; Components: {#COMPN_GRAPHICS}
+Source: modules\{#GRAPHICS}\macros\buildmacros.bat; DestDir: {app}\modules\{#GRAPHICS}\macros; Components: {#COMPN_GRAPHICS}
+Source: modules\{#GRAPHICS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#GRAPHICS}\macros; Components: {#COMPN_GRAPHICS}
 Source: modules\{#GRAPHICS}\macros\lib; DestDir: {app}\modules\{#GRAPHICS}\macros; Components: {#COMPN_GRAPHICS}
 Source: modules\{#GRAPHICS}\macros\names; DestDir: {app}\modules\{#GRAPHICS}\macros; Components: {#COMPN_GRAPHICS}
 Source: modules\{#GRAPHICS}\macros\*.bin; DestDir: {app}\modules\{#GRAPHICS}\macros; Components: {#COMPN_GRAPHICS}
diff --git a/scilab/modules/graphics/macros/buildmacros.bat b/scilab/modules/graphics/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 21f29f2..9b349f3 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET        INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('graphicslib','SCI/modules/graphics/macros');
 //------------------------------------
diff --git a/scilab/modules/graphics/macros/cleanmacros.bat b/scilab/modules/graphics/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 72f1c6e..7be24e9 100644 (file)
@@ -40,6 +40,8 @@ Source: modules\{#GUI}\macros\names; DestDir: {app}\modules\{#GUI}\macros; Flags
 Source: modules\{#GUI}\macros\*.bin; DestDir: {app}\modules\{#GUI}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 Source: modules\{#GUI}\macros\*.sci; DestDir: {app}\modules\{#GUI}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 Source: modules\{#GUI}\macros\buildmacros.sce; DestDir: {app}\modules\{#GUI}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+Source: modules\{#GUI}\macros\buildmacros.bat; DestDir: {app}\modules\{#GUI}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+Source: modules\{#GUI}\macros\cleanmacros.bat; DestDir: {app}\modules\{#GUI}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#GUI}\demos\*.*; DestDir: {app}\modules\{#GUI}\demos; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
diff --git a/scilab/modules/gui/macros/buildmacros.bat b/scilab/modules/gui/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 0546018..292600c 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('guilib','SCI/modules/gui/macros');
 //------------------------------------
diff --git a/scilab/modules/gui/macros/cleanmacros.bat b/scilab/modules/gui/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 37e8bfc..0afb736 100644 (file)
@@ -30,6 +30,8 @@ Source: modules\{#HELPTOOLS}\locales\*.xml; DestDir: {app}\modules\{#HELPTOOLS}\
 Source: modules\{#HELPTOOLS}\help\*.htm; DestDir: {app}\modules\{#HELPTOOLS}\help; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#HELPTOOLS}\macros\buildmacros.sce; DestDir: {app}\modules\{#HELPTOOLS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#HELPTOOLS}\macros\buildmacros.bat; DestDir: {app}\modules\{#HELPTOOLS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#HELPTOOLS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#HELPTOOLS}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#HELPTOOLS}\macros\lib; DestDir: {app}\modules\{#HELPTOOLS}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#HELPTOOLS}\macros\names; DestDir: {app}\modules\{#HELPTOOLS}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#HELPTOOLS}\macros\*.bin; DestDir: {app}\modules\{#HELPTOOLS}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/helptools/macros/buildmacros.bat b/scilab/modules/helptools/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 7300cfb..805024c 100644 (file)
@@ -3,6 +3,10 @@
 // Scilab Team
 // Copyright INRIA
 // ==========================================================================
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+// ==========================================================================
 genlib('helptoolslib','SCI/modules/helptools/macros');
 // ==========================================================================
 
diff --git a/scilab/modules/helptools/macros/cleanmacros.bat b/scilab/modules/helptools/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 73e932e..70c8034 100644 (file)
@@ -36,6 +36,8 @@ Source: modules\{#HISTORY_MANAGER}\help\*.htm; DestDir: {app}\modules\{#HISTORY_
 Source: modules\{#HISTORY_MANAGER}\locales\*.xml; DestDir: {app}\modules\{#HISTORY_MANAGER}\locales; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 ;Source: modules\{#HISTORY_MANAGER}\macros\buildmacros.sce; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#HISTORY_MANAGER}\macros\buildmacros.bat; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#HISTORY_MANAGER}\macros\cleanmacros.bat; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#HISTORY_MANAGER}\macros\*.bin; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#HISTORY_MANAGER}\macros\*.sci; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#HISTORY_MANAGER}\macros\lib; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/history_manager/macros/buildmacros.bat b/scilab/modules/history_manager/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index e50662c..44da3a3 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2007
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('history_managerlib','SCI/modules/history_manager/macros');
 //------------------------------------
diff --git a/scilab/modules/history_manager/macros/cleanmacros.bat b/scilab/modules/history_manager/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 39d0a46..8c76241 100644 (file)
@@ -34,6 +34,8 @@ Source: modules\{#INCRLINK}\macros\names; DestDir: {app}\modules\{#INCRLINK}\mac
 Source: modules\{#INCRLINK}\macros\*.bin; DestDir: {app}\modules\{#INCRLINK}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 Source: modules\{#INCRLINK}\macros\*.sci; DestDir: {app}\modules\{#INCRLINK}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 Source: modules\{#INCRLINK}\macros\buildmacros.sce; DestDir: {app}\modules\{#INCRLINK}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+Source: modules\{#INCRLINK}\macros\buildmacros.bat; DestDir: {app}\modules\{#INCRLINK}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+Source: modules\{#INCRLINK}\macros\cleanmacros.bat; DestDir: {app}\modules\{#INCRLINK}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 ;Source: modules\{#INCRLINK}\demos\*.*; DestDir: {app}\modules\{#INCRLINK}\demos; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
diff --git a/scilab/modules/incremental_link/macros/buildmacros.bat b/scilab/modules/incremental_link/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 57742fc..cd9434a 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('incremental_linklib','SCI/modules/incremental_link/macros');
 //------------------------------------
diff --git a/scilab/modules/incremental_link/macros/cleanmacros.bat b/scilab/modules/incremental_link/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index a60775b..cedc09c 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#INTEGER}\locales\*.xml; DestDir: {app}\modules\{#INTEGER}\loca
 Source: modules\{#INTEGER}\includes\*.h; DestDir: {app}\modules\{#INTEGER}\includes; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#INTEGER}\macros\buildmacros.sce; DestDir: {app}\modules\{#INTEGER}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#INTEGER}\macros\buildmacros.bat; DestDir: {app}\modules\{#INTEGER}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#INTEGER}\macros\cleanmacros.bat; DestDir: {app}\modules\{#INTEGER}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#INTEGER}\macros\lib; DestDir: {app}\modules\{#INTEGER}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#INTEGER}\macros\names; DestDir: {app}\modules\{#INTEGER}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#INTEGER}\macros\*.bin; DestDir: {app}\modules\{#INTEGER}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/integer/macros/buildmacros.bat b/scilab/modules/integer/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 33af6a5..9c439c4 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('integerlib','SCI/modules/integer/macros');
 //------------------------------------
diff --git a/scilab/modules/integer/macros/cleanmacros.bat b/scilab/modules/integer/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 0b7b678..c0aef7d 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright INRIA 2006
 // ====================================================================
 //Load  functions librarie
-//load('SCI/modules/interpolation/macros/lib');
+load('SCI/modules/interpolation/macros/lib');
 // ====================================================================
 //add help chapter
 add_module_help_chapter('interpolation');
index 2598741..d22b291 100644 (file)
@@ -29,11 +29,13 @@ Source: modules\{#INTERPOLATION}\locales\*.xml; DestDir: {app}\modules\{#INTERPO
 ;
 Source: modules\{#INTERPOLATION}\includes\*.h; DestDir: {app}\modules\{#INTERPOLATION}\includes; Components: {#COMPN_INTERP}
 ;
-;Source: modules\{#INTERPOLATION}\macros\lib; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
-;Source: modules\{#INTERPOLATION}\macros\names; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
-;Source: modules\{#INTERPOLATION}\macros\*.bin; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
-;Source: modules\{#INTERPOLATION}\macros\*.sci; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
+Source: modules\{#INTERPOLATION}\macros\lib; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
+Source: modules\{#INTERPOLATION}\macros\names; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
+Source: modules\{#INTERPOLATION}\macros\*.bin; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
+Source: modules\{#INTERPOLATION}\macros\*.sci; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
 Source: modules\{#INTERPOLATION}\macros\buildmacros.sce; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
+Source: modules\{#INTERPOLATION}\macros\buildmacros.bat; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
+Source: modules\{#INTERPOLATION}\macros\cleanmacros.bat; DestDir: {app}\modules\{#INTERPOLATION}\macros; Flags: recursesubdirs; Components: {#COMPN_INTERP}
 ;
 Source: modules\{#INTERPOLATION}\demos\*.*; DestDir: {app}\modules\{#INTERPOLATION}\demos; Flags: recursesubdirs; Components: {#COMPN_INTERP}
 ;
diff --git a/scilab/modules/interpolation/macros/buildmacros.bat b/scilab/modules/interpolation/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index c566381..c3ae4e7 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
-//genlib('interpolationlib','SCI/modules/interpolation/macros');
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
+genlib('interpolationlib','SCI/modules/interpolation/macros');
 //------------------------------------
diff --git a/scilab/modules/interpolation/macros/cleanmacros.bat b/scilab/modules/interpolation/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 096885b..d8520e6 100644 (file)
@@ -30,6 +30,8 @@ Source: modules\{#INTERSCI}\locales\*.xml; DestDir: {app}\modules\{#INTERSCI}\lo
 ;Source: modules\{#INTERSCI}\macros\*.bin; DestDir: {app}\modules\{#INTERSCI}\macros; Components: {#COMPN_INTERSCI}
 ;Source: modules\{#INTERSCI}\macros\*.sci; DestDir: {app}\modules\{#INTERSCI}\macros; Components: {#COMPN_INTERSCI}
 Source: modules\{#INTERSCI}\macros\buildmacros.sce; DestDir: {app}\modules\{#INTERSCI}\macros; Components: {#COMPN_INTERSCI}
+Source: modules\{#INTERSCI}\macros\buildmacros.bat; DestDir: {app}\modules\{#INTERSCI}\macros; Components: {#COMPN_INTERSCI}
+Source: modules\{#INTERSCI}\macros\cleanmacros.bat; DestDir: {app}\modules\{#INTERSCI}\macros; Components: {#COMPN_INTERSCI}
 ;
 ;Source: modules\{#INTERSCI}\demos\*.*; DestDir: {app}\modules\{#INTERSCI}\demos; Flags: recursesubdirs; Components: {#COMPN_INTERSCI}
 ;
diff --git a/scilab/modules/intersci/macros/buildmacros.bat b/scilab/modules/intersci/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index c0334dc..49d1825 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('interscilib','SCI/modules/intersci/macros');
 //------------------------------------
diff --git a/scilab/modules/intersci/macros/cleanmacros.bat b/scilab/modules/intersci/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 85fadae..07b0c35 100644 (file)
@@ -33,6 +33,8 @@ Source: modules\{#IO}\locales\*.xml; DestDir: {app}\modules\{#IO}\locales; Flags
 Source: modules\{#IO}\includes\*.h; DestDir: {app}\modules\{#IO}\includes; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#IO}\macros\buildmacros.sce; DestDir: {app}\modules\{#IO}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#IO}\macros\buildmacros.bat; DestDir: {app}\modules\{#IO}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#IO}\macros\cleanmacros.bat; DestDir: {app}\modules\{#IO}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#IO}\macros\lib; DestDir: {app}\modules\{#IO}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#IO}\macros\names; DestDir: {app}\modules\{#IO}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#IO}\macros\*.bin; DestDir: {app}\modules\{#IO}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/io/macros/buildmacros.bat b/scilab/modules/io/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 6662324..8d22b17 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('iolib','SCI/modules/io/macros');
 //------------------------------------
diff --git a/scilab/modules/io/macros/cleanmacros.bat b/scilab/modules/io/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 3507119..44b200c 100644 (file)
@@ -25,6 +25,8 @@ Source: modules\{#JAVASCI}\etc\{#JAVASCI}.quit; DestDir: {app}\modules\{#JAVASCI
 Source: modules\{#JAVASCI}\etc\{#JAVASCI}.start; DestDir: {app}\modules\{#JAVASCI}\etc; Components: {#COMPN_JAVASCI}
 ;
 Source: modules\{#JAVASCI}\macros\buildmacros.sce; DestDir: {app}\modules\{#JAVASCI}\macros; Components: {#COMPN_JAVASCI}
+Source: modules\{#JAVASCI}\macros\buildmacros.bat; DestDir: {app}\modules\{#JAVASCI}\macros; Components: {#COMPN_JAVASCI}
+Source: modules\{#JAVASCI}\macros\cleanmacros.bat; DestDir: {app}\modules\{#JAVASCI}\macros; Components: {#COMPN_JAVASCI}
 ;Source: modules\{#JAVASCI}\macros\*.bin; DestDir: {app}\modules\{#JAVASCI}\macros; Components: {#COMPN_JAVASCI}
 ;Source: modules\{#JAVASCI}\macros\*.sci; DestDir: {app}\modules\{#JAVASCI}\macros; Components: {#COMPN_JAVASCI}
 ;Source: modules\{#JAVASCI}\macros\lib; DestDir: {app}\modules\{#JAVASCI}\macros; Components: {#COMPN_JAVASCI}
diff --git a/scilab/modules/javasci/macros/buildmacros.bat b/scilab/modules/javasci/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 26ca039..8074a4a 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('javascilib','SCI/modules/Javasci/macros');
 //------------------------------------
diff --git a/scilab/modules/javasci/macros/cleanmacros.bat b/scilab/modules/javasci/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 210b86e..d86fa9f 100644 (file)
@@ -30,6 +30,8 @@ Source: modules\{#JVM}\etc\{#JVM}.quit; DestDir: {app}\modules\{#JVM}\etc; Compo
 Source: modules\{#JVM}\etc\{#JVM}.start; DestDir: {app}\modules\{#JVM}\etc; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#JVM}\macros\buildmacros.sce; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#JVM}\macros\buildmacros.bat; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#JVM}\macros\cleanmacros.bat; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#JVM}\macros\lib; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#JVM}\macros\names; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#JVM}\macros\*.bin; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/jvm/macros/buildmacros.bat b/scilab/modules/jvm/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index df3d91d..7da9659 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('jvmlib','SCI/modules/jvm/macros');
 //------------------------------------
diff --git a/scilab/modules/jvm/macros/cleanmacros.bat b/scilab/modules/jvm/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 299265f..c7ff395 100644 (file)
@@ -33,6 +33,8 @@ Source: modules\{#LINALG}\locales\*.xml; DestDir: {app}\modules\{#LINALG}\locale
 Source: modules\{#LINALG}\includes\*.h; DestDir: {app}\modules\{#LINALG}\includes; Components: {#COMPN_LINALG}
 ;
 Source: modules\{#LINALG}\macros\buildmacros.sce; DestDir: {app}\modules\{#LINALG}\macros; Components: {#COMPN_LINALG}
+Source: modules\{#LINALG}\macros\buildmacros.bat; DestDir: {app}\modules\{#LINALG}\macros; Components: {#COMPN_LINALG}
+Source: modules\{#LINALG}\macros\cleanmacros.bat; DestDir: {app}\modules\{#LINALG}\macros; Components: {#COMPN_LINALG}
 Source: modules\{#LINALG}\macros\lib; DestDir: {app}\modules\{#LINALG}\macros; Components: {#COMPN_LINALG}
 Source: modules\{#LINALG}\macros\names; DestDir: {app}\modules\{#LINALG}\macros; Components: {#COMPN_LINALG}
 Source: modules\{#LINALG}\macros\*.bin; DestDir: {app}\modules\{#LINALG}\macros; Components: {#COMPN_LINALG}
diff --git a/scilab/modules/linear_algebra/macros/buildmacros.bat b/scilab/modules/linear_algebra/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 78d945d..61dbe7b 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('linear_algebralib','SCI/modules/linear_algebra/macros');
 //------------------------------------
diff --git a/scilab/modules/linear_algebra/macros/cleanmacros.bat b/scilab/modules/linear_algebra/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 5715c05..9a9c360 100644 (file)
@@ -37,6 +37,8 @@ Source: modules\{#LOCALIZATION}\macros\names; DestDir: {app}\modules\{#LOCALIZAT
 Source: modules\{#LOCALIZATION}\macros\*.bin; DestDir: {app}\modules\{#LOCALIZATION}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#LOCALIZATION}\macros\*.sci; DestDir: {app}\modules\{#LOCALIZATION}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#LOCALIZATION}\macros\buildmacros.sce; DestDir: {app}\modules\{#LOCALIZATION}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#LOCALIZATION}\macros\buildmacros.bat; DestDir: {app}\modules\{#LOCALIZATION}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#LOCALIZATION}\macros\cleanmacros.bat; DestDir: {app}\modules\{#LOCALIZATION}\macros; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#LOCALIZATION}\xml\*.dtd; DestDir: {app}\modules\{#LOCALIZATION}\xml; Components: {#COMPN_SCILAB}
 ;
diff --git a/scilab/modules/localization/macros/buildmacros.bat b/scilab/modules/localization/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 26783a9..16125f0 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('localizationlib','SCI/modules/localization/macros');
 //------------------------------------
diff --git a/scilab/modules/localization/macros/cleanmacros.bat b/scilab/modules/localization/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index f6475c8..494ce38 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#M2SCI}\macros\names; DestDir: {app}\modules\{#M2SCI}\macros; F
 Source: modules\{#M2SCI}\macros\*.bin; DestDir: {app}\modules\{#M2SCI}\macros; Flags: recursesubdirs; Components: {#COMPN_M2SCI}
 Source: modules\{#M2SCI}\macros\*.sci; DestDir: {app}\modules\{#M2SCI}\macros; Flags: recursesubdirs; Components: {#COMPN_M2SCI}
 Source: modules\{#M2SCI}\macros\buildmacros.sce; DestDir: {app}\modules\{#M2SCI}\macros; Flags: recursesubdirs; Components: {#COMPN_M2SCI}
+Source: modules\{#M2SCI}\macros\buildmacros.bat; DestDir: {app}\modules\{#M2SCI}\macros; Flags: recursesubdirs; Components: {#COMPN_M2SCI}
+Source: modules\{#M2SCI}\macros\cleanmacros.bat; DestDir: {app}\modules\{#M2SCI}\macros; Flags: recursesubdirs; Components: {#COMPN_M2SCI}
 ;
 ;Source: modules\{#M2SCI}\demos\*.*; DestDir: {app}\modules\{#M2SCI}\demos; Flags: recursesubdirs; Components: {#COMPN_M2SCI}
 ;
diff --git a/scilab/modules/m2sci/macros/buildmacros.bat b/scilab/modules/m2sci/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index ad5a0a9..8a53b90 100644 (file)
@@ -1,6 +1,10 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('m2scilib','SCI/modules/m2sci/macros');
 //------------------------------------
 mprintf(" -- Creation of [SCI/modules/m2sci/macros/m2sci] (Macros) --\n");
diff --git a/scilab/modules/m2sci/macros/cleanmacros.bat b/scilab/modules/m2sci/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index e98a5ef..feb579e 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('m2scikernellib','SCI/modules/m2sci/macros/kernel');
 //------------------------------------
index 8c46e91..7e789ec 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('m2scipercentlib','SCI/modules/m2sci/macros/percent');
 //------------------------------------
index c1832e7..e5947ab 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('m2scisci_fileslib','SCI/modules/m2sci/macros/sci_files');
 //------------------------------------
diff --git a/scilab/modules/maple2scilab/macros/buildmacros.bat b/scilab/modules/maple2scilab/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 5178323..1ce1a86 100644 (file)
@@ -4,5 +4,9 @@
 // Copyright INRIA
 // Date : Aout 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('maple2scilablib','SCI/modules/maple2scilab/macros');
 //------------------------------------
diff --git a/scilab/modules/maple2scilab/macros/cleanmacros.bat b/scilab/modules/maple2scilab/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index b3c2630..f2a096d 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#MAP2SCI}\macros\names; DestDir: {app}\modules\{#MAP2SCI}\macro
 Source: modules\{#MAP2SCI}\macros\*.bin; DestDir: {app}\modules\{#MAP2SCI}\macros; Components: {#COMPN_MAP2SCI}
 Source: modules\{#MAP2SCI}\macros\*.sci; DestDir: {app}\modules\{#MAP2SCI}\macros; Components: {#COMPN_MAP2SCI}
 Source: modules\{#MAP2SCI}\macros\buildmacros.sce; DestDir: {app}\modules\{#MAP2SCI}\macros; Components: {#COMPN_MAP2SCI}
+Source: modules\{#MAP2SCI}\macros\buildmacros.bat; DestDir: {app}\modules\{#MAP2SCI}\macros; Components: {#COMPN_MAP2SCI}
+Source: modules\{#MAP2SCI}\macros\cleanmacros.bat; DestDir: {app}\modules\{#MAP2SCI}\macros; Components: {#COMPN_MAP2SCI}
 ;
 ;Source: modules\{#MAP2SCI}\demos\*.*; DestDir: {app}\modules\{#MAP2SCI}\demos; Flags: recursesubdirs; Components: {#COMPN_MAP2SCI}
 ;
diff --git a/scilab/modules/metanet/macros/buildmacros.bat b/scilab/modules/metanet/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index d0bee20..2186285 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('metanetlib','SCI/modules/metanet/macros');
 //------------------------------------
diff --git a/scilab/modules/metanet/macros/cleanmacros.bat b/scilab/modules/metanet/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index a66c715..a3ed127 100644 (file)
@@ -38,6 +38,8 @@ Source: modules\{#METANET}\macros\names; DestDir: {app}\modules\{#METANET}\macro
 Source: modules\{#METANET}\macros\*.bin; DestDir: {app}\modules\{#METANET}\macros; Components: {#COMPN_METANET}
 Source: modules\{#METANET}\macros\*.sci; DestDir: {app}\modules\{#METANET}\macros; Components: {#COMPN_METANET}
 Source: modules\{#METANET}\macros\buildmacros.sce; DestDir: {app}\modules\{#METANET}\macros; Components: {#COMPN_METANET}
+Source: modules\{#METANET}\macros\buildmacros.bat; DestDir: {app}\modules\{#METANET}\macros; Components: {#COMPN_METANET}
+Source: modules\{#METANET}\macros\cleanmacros.bat; DestDir: {app}\modules\{#METANET}\macros; Components: {#COMPN_METANET}
 ;
 Source: modules\{#METANET}\demos\*.*; DestDir: {app}\modules\{#METANET}\demos; Flags: recursesubdirs; Components: {#COMPN_METANET}
 ;
diff --git a/scilab/modules/mexlib/macros/buildmacros.bat b/scilab/modules/mexlib/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index fcab5fc..cfa309e 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('mexliblib','SCI/modules/mexlib/macros');
 //------------------------------------
diff --git a/scilab/modules/mexlib/macros/cleanmacros.bat b/scilab/modules/mexlib/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index f94eff8..8608e0e 100644 (file)
@@ -36,6 +36,8 @@ Source: modules\{#MEXLIB}\includes\*.h; DestDir: {app}\modules\{#MEXLIB}\include
 ;Source: modules\{#MEXLIB}\macros\*.bin; DestDir: {app}\modules\{#MEXLIB}\macros; Components: {#COMPN_MEXLIB}
 ;Source: modules\{#MEXLIB}\macros\*.sci; DestDir: {app}\modules\{#MEXLIB}\macros; Components: {#COMPN_MEXLIB}
 Source: modules\{#MEXLIB}\macros\buildmacros.sce; DestDir: {app}\modules\{#MEXLIB}\macros; Components: {#COMPN_MEXLIB}
+Source: modules\{#MEXLIB}\macros\buildmacros.bat; DestDir: {app}\modules\{#MEXLIB}\macros; Components: {#COMPN_MEXLIB}
+Source: modules\{#MEXLIB}\macros\cleanmacros.bat; DestDir: {app}\modules\{#MEXLIB}\macros; Components: {#COMPN_MEXLIB}
 ;
 ;Source: modules\{#MEXLIB}\demos\*.*; DestDir: {app}\modules\{#MEXLIB}\demos; Flags: recursesubdirs; Components: {#COMPN_MEXLIB}
 ;
diff --git a/scilab/modules/optimization/macros/buildmacros.bat b/scilab/modules/optimization/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 89e6d70..b15f536 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('optimizationlib','SCI/modules/optimization/macros');
 //------------------------------------
diff --git a/scilab/modules/optimization/macros/cleanmacros.bat b/scilab/modules/optimization/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 2b8d04f..33d19d1 100644 (file)
@@ -30,6 +30,8 @@ Source: modules\{#OPTIMIZATION}\locales\*.xml; DestDir: {app}\modules\{#OPTIMIZA
 Source: modules\{#OPTIMIZATION}\includes\*.h; DestDir: {app}\modules\{#OPTIMIZATION}\includes; Components: {#COMPN_OPTIM}
 ;
 Source: modules\{#OPTIMIZATION}\macros\buildmacros.sce; DestDir: {app}\modules\{#OPTIMIZATION}\macros; Components: {#COMPN_OPTIM}
+Source: modules\{#OPTIMIZATION}\macros\buildmacros.bat; DestDir: {app}\modules\{#OPTIMIZATION}\macros; Components: {#COMPN_OPTIM}
+Source: modules\{#OPTIMIZATION}\macros\cleanmacros.bat; DestDir: {app}\modules\{#OPTIMIZATION}\macros; Components: {#COMPN_OPTIM}
 Source: modules\{#OPTIMIZATION}\macros\lib; DestDir: {app}\modules\{#OPTIMIZATION}\macros; Components: {#COMPN_OPTIM}
 Source: modules\{#OPTIMIZATION}\macros\names; DestDir: {app}\modules\{#OPTIMIZATION}\macros; Components: {#COMPN_OPTIM}
 Source: modules\{#OPTIMIZATION}\macros\*.bin; DestDir: {app}\modules\{#OPTIMIZATION}\macros; Components: {#COMPN_OPTIM}
diff --git a/scilab/modules/others/macros/buildmacros.bat b/scilab/modules/others/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 4d3a14a..6095aa2 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('otherslib','SCI/modules/others/macros');
 //------------------------------------
diff --git a/scilab/modules/others/macros/cleanmacros.bat b/scilab/modules/others/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index bf9039d..83e72e7 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#OTHERS}\macros\names; DestDir: {app}\modules\{#OTHERS}\macros;
 Source: modules\{#OTHERS}\macros\*.bin; DestDir: {app}\modules\{#OTHERS}\macros; Flags: recursesubdirs; Components: {#COMPN_OTHERS}
 Source: modules\{#OTHERS}\macros\*.sci; DestDir: {app}\modules\{#OTHERS}\macros; Flags: recursesubdirs; Components: {#COMPN_OTHERS}
 Source: modules\{#OTHERS}\macros\buildmacros.sce; DestDir: {app}\modules\{#OTHERS}\macros; Flags: recursesubdirs; Components: {#COMPN_OTHERS}
+Source: modules\{#OTHERS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#OTHERS}\macros; Flags: recursesubdirs; Components: {#COMPN_OTHERS}
+Source: modules\{#OTHERS}\macros\buildmacros.bat; DestDir: {app}\modules\{#OTHERS}\macros; Flags: recursesubdirs; Components: {#COMPN_OTHERS}
 ;
 Source: modules\{#OTHERS}\demos\*.*; DestDir: {app}\modules\{#OTHERS}\demos; Flags: recursesubdirs; Components: {#COMPN_OTHERS}
 ;
diff --git a/scilab/modules/overloading/macros/buildmacros.bat b/scilab/modules/overloading/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 17bc524..c4e5a5c 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('overloadinglib','SCI/modules/overloading/macros');
 //------------------------------------
diff --git a/scilab/modules/overloading/macros/cleanmacros.bat b/scilab/modules/overloading/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 860108b..87503b6 100644 (file)
@@ -29,6 +29,8 @@ Source: modules\{#OVERLOADING}\locales\*.xml; DestDir: {app}\modules\{#OVERLOADI
 ;Source: modules\{#OVERLOADING}\includes\*.h; DestDir: {app}\modules\{#OVERLOADING}\includes; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#OVERLOADING}\macros\buildmacros.sce; DestDir: {app}\modules\{#OVERLOADING}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#OVERLOADING}\macros\buildmacros.bat; DestDir: {app}\modules\{#OVERLOADING}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#OVERLOADING}\macros\cleanmacros.bat; DestDir: {app}\modules\{#OVERLOADING}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#OVERLOADING}\macros\lib; DestDir: {app}\modules\{#OVERLOADING}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#OVERLOADING}\macros\names; DestDir: {app}\modules\{#OVERLOADING}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#OVERLOADING}\macros\*.bin; DestDir: {app}\modules\{#OVERLOADING}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/polynomials/macros/buildmacros.bat b/scilab/modules/polynomials/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index f9473d6..b9d6e56 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('polynomialslib','SCI/modules/polynomials/macros');
 //------------------------------------
diff --git a/scilab/modules/polynomials/macros/cleanmacros.bat b/scilab/modules/polynomials/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index d1c98b9..d113d24 100644 (file)
@@ -30,6 +30,8 @@ Source: modules\{#POLYNOMIALS}\locales\*.xml; DestDir: {app}\modules\{#POLYNOMIA
 Source: modules\{#POLYNOMIALS}\includes\*.h; DestDir: {app}\modules\{#POLYNOMIALS}\includes; Components: {#COMPN_POLY}
 ;
 Source: modules\{#POLYNOMIALS}\macros\buildmacros.sce; DestDir: {app}\modules\{#POLYNOMIALS}\macros; Components: {#COMPN_POLY}
+Source: modules\{#POLYNOMIALS}\macros\buildmacros.bat; DestDir: {app}\modules\{#POLYNOMIALS}\macros; Components: {#COMPN_POLY}
+Source: modules\{#POLYNOMIALS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#POLYNOMIALS}\macros; Components: {#COMPN_POLY}
 Source: modules\{#POLYNOMIALS}\macros\lib; DestDir: {app}\modules\{#POLYNOMIALS}\macros; Components: {#COMPN_POLY}
 Source: modules\{#POLYNOMIALS}\macros\names; DestDir: {app}\modules\{#POLYNOMIALS}\macros; Components: {#COMPN_POLY}
 Source: modules\{#POLYNOMIALS}\macros\*.bin; DestDir: {app}\modules\{#POLYNOMIALS}\macros; Components: {#COMPN_POLY}
diff --git a/scilab/modules/pvm/macros/buildmacros.bat b/scilab/modules/pvm/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index ec10f91..42ddf68 100644 (file)
@@ -1,6 +1,10 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 if %pvm then
 genlib('pvmlib','SCI/modules/pvm/macros');
 end
diff --git a/scilab/modules/pvm/macros/cleanmacros.bat b/scilab/modules/pvm/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 8bb740c..4d0dc29 100644 (file)
@@ -32,6 +32,8 @@ Source: bin\pvm.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB}
 ;Source: modules\{#PVM}\locales\*.xml; DestDir: {app}\modules\{#PVM}\locales; Flags: recursesubdirs; Components: {#COMPN_PVM}
 ;
 ;Source: modules\{#PVM}\macros\buildmacros.sce; DestDir: {app}\modules\{#PVM}\macros; Components: {#COMPN_PVM}
+;Source: modules\{#PVM}\macros\buildmacros.bat; DestDir: {app}\modules\{#PVM}\macros; Components: {#COMPN_PVM}
+;Source: modules\{#PVM}\macros\cleanmacros.bat; DestDir: {app}\modules\{#PVM}\macros; Components: {#COMPN_PVM}
 ;Source: modules\{#PVM}\macros\*.bin; DestDir: {app}\modules\{#PVM}\macros; Components: {#COMPN_PVM}
 ;Source: modules\{#PVM}\macros\*.sci; DestDir: {app}\modules\{#PVM}\macros; Components: {#COMPN_PVM}
 ;Source: modules\{#PVM}\macros\lib; DestDir: {app}\modules\{#PVM}\macros; Components: {#COMPN_PVM}
diff --git a/scilab/modules/randlib/macros/buildmacros.bat b/scilab/modules/randlib/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index cac9497..b6719c3 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('randliblib','SCI/modules/randlib/macros');
 //------------------------------------
diff --git a/scilab/modules/randlib/macros/cleanmacros.bat b/scilab/modules/randlib/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 70de2bc..9392821 100644 (file)
@@ -39,6 +39,8 @@ Source: modules\{#RANDLIB}\includes\*.h; DestDir: {app}\modules\{#RANDLIB}\inclu
 ;Source: modules\{#RANDLIB}\macros\*.bin; DestDir: {app}\modules\{#RANDLIB}\macros; Flags: recursesubdirs; Components: {#COMPN_RANDLIB}
 ;Source: modules\{#RANDLIB}\macros\*.sci; DestDir: {app}\modules\{#RANDLIB}\macros; Flags: recursesubdirs; Components: {#COMPN_RANDLIB}
 Source: modules\{#RANDLIB}\macros\buildmacros.sce; DestDir: {app}\modules\{#RANDLIB}\macros; Flags: recursesubdirs; Components: {#COMPN_RANDLIB}
+Source: modules\{#RANDLIB}\macros\buildmacros.bat; DestDir: {app}\modules\{#RANDLIB}\macros; Flags: recursesubdirs; Components: {#COMPN_RANDLIB}
+Source: modules\{#RANDLIB}\macros\cleanmacros.bat; DestDir: {app}\modules\{#RANDLIB}\macros; Flags: recursesubdirs; Components: {#COMPN_RANDLIB}
 ;
 Source: modules\{#RANDLIB}\demos\*.*; DestDir: {app}\modules\{#RANDLIB}\demos; Flags: recursesubdirs; Components: {#COMPN_RANDLIB}
 ;
diff --git a/scilab/modules/renderer/macros/buildmacros.bat b/scilab/modules/renderer/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index f6a94cb..cdd8baf 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2007
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('rendererlib','SCI/modules/renderer/macros');
 //------------------------------------
diff --git a/scilab/modules/renderer/macros/cleanmacros.bat b/scilab/modules/renderer/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index fedfd46..7d9872e 100644 (file)
@@ -43,6 +43,8 @@ Source: modules\{#RENDERER}\etc\{#RENDERER}.start; DestDir: {app}\modules\{#REND
 Source: modules\{#RENDERER}\locales\*.xml; DestDir: {app}\modules\{#RENDERER}\locales; Flags: recursesubdirs; Components: {#COMPN_GRAPHICS}
 ;
 Source: modules\{#RENDERER}\macros\buildmacros.sce; DestDir: {app}\modules\{#RENDERER}\macros; Components: {#COMPN_GRAPHICS}
+Source: modules\{#RENDERER}\macros\buildmacros.bat; DestDir: {app}\modules\{#RENDERER}\macros; Components: {#COMPN_GRAPHICS}
+Source: modules\{#RENDERER}\macros\cleanmacros.bat; DestDir: {app}\modules\{#RENDERER}\macros; Components: {#COMPN_GRAPHICS}
 ;Source: modules\{#RENDERER}\macros\*.bin; DestDir: {app}\modules\{#RENDERER}\macros; Components: {#COMPN_GRAPHICS}
 ;Source: modules\{#RENDERER}\macros\*.sci; DestDir: {app}\modules\{#RENDERER}\macros; Components: {#COMPN_GRAPHICS}
 ;Source: modules\{#RENDERER}\macros\lib; DestDir: {app}\modules\{#RENDERER}\macros; Components: {#COMPN_GRAPHICS}
diff --git a/scilab/modules/sci2c/macros/buildmacros.bat b/scilab/modules/sci2c/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 829db45..c550b06 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('sci2clib','SCI/modules/sci2clib/macros');
 //------------------------------------
diff --git a/scilab/modules/sci2c/macros/cleanmacros.bat b/scilab/modules/sci2c/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 5b479b4..3470c8d 100644 (file)
@@ -34,6 +34,8 @@ Source: modules\{#SCI2C}\includes\*.h; DestDir: {app}\modules\{#SCI2C}\includes;
 ;Source: modules\{#SCI2C}\macros\*.bin; DestDir: {app}\modules\{#SCI2C}\macros; Flags: recursesubdirs; Components: {#COMPN_SCI2C}
 ;Source: modules\{#SCI2C}\macros\*.sci; DestDir: {app}\modules\{#SCI2C}\macros; Flags: recursesubdirs; Components: {#COMPN_SCI2C}
 Source: modules\{#SCI2C}\macros\buildmacros.sce; DestDir: {app}\modules\{#SCI2C}\macros; Flags: recursesubdirs; Components: {#COMPN_SCI2C}
+Source: modules\{#SCI2C}\macros\buildmacros.bat; DestDir: {app}\modules\{#SCI2C}\macros; Flags: recursesubdirs; Components: {#COMPN_SCI2C}
+Source: modules\{#SCI2C}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SCI2C}\macros; Flags: recursesubdirs; Components: {#COMPN_SCI2C}
 ;
 Source: modules\{#SCI2C}\demos\*.*; DestDir: {app}\modules\{#SCI2C}\demos; Flags: recursesubdirs; Components: {#COMPN_SCI2C}
 ;
diff --git a/scilab/modules/scicos/macros/buildmacros.bat b/scilab/modules/scicos/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index e801175..9dc54b3 100644 (file)
@@ -2,23 +2,27 @@
 // Allan CORNET INRIA 2006
 //------------------------------------
 if %scicos then
-// load some libraries 
-if ~exists('corelib') then load('SCI/modules/core/macros/lib'),end
-if ~exists('functionslib') then load('SCI/modules/functions/macros/lib'),end
-if ~exists('fileiolib') then load('SCI/modules/fileio/macros/lib'),end
-if ~exists('stringlib') then load('SCI/modules/string/macros/lib'),end
-if ~exists('overloadinglib') then load('SCI/modules/overloading/macros/lib'),end
-if ~exists('iolib') then load('SCI/modules/io/macros/lib'),end
+  // load some libraries 
+  if ~exists('corelib') then load('SCI/modules/core/macros/lib'),end
+  if ~exists('functionslib') then load('SCI/modules/functions/macros/lib'),end
+  if ~exists('fileiolib') then load('SCI/modules/fileio/macros/lib'),end
+  if ~exists('stringlib') then load('SCI/modules/string/macros/lib'),end
+  if ~exists('overloadinglib') then load('SCI/modules/overloading/macros/lib'),end
+  if ~exists('iolib') then load('SCI/modules/io/macros/lib'),end
 //------------------------------------
-genlib('libscicos','SCI/modules/scicos/macros');
+  if (isdef('genlib') == %f) then
+    exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+  end
+//------------------------------------  
+  genlib('libscicos','SCI/modules/scicos/macros');
 //------------------------------------
-mprintf(" -- Creation of [SCI/modules/scicos/macros/scicos] (Macros) --\n");
-chdir('SCI/modules/scicos/macros/scicos');
-exec('buildmacros.sce',-1);
+  mprintf(" -- Creation of [SCI/modules/scicos/macros/scicos] (Macros) --\n");
+  chdir('SCI/modules/scicos/macros/scicos');
+  exec('buildmacros.sce',-1);
 //------------------------------------
-mprintf(" -- Creation of [SCI/modules/scicos/macros/scicos_blocks] (Macros) --\n");
-chdir('SCI/modules/scicos/macros/scicos_blocks');
-exec('buildmacros.sce',-1);
+  mprintf(" -- Creation of [SCI/modules/scicos/macros/scicos_blocks] (Macros) --\n");
+  chdir('SCI/modules/scicos/macros/scicos_blocks');
+  exec('buildmacros.sce',-1);
 //------------------------------------
 end // if %scicos then
 //------------------------------------
\ No newline at end of file
diff --git a/scilab/modules/scicos/macros/cleanmacros.bat b/scilab/modules/scicos/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index a5ca9bc..3bc65a5 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scicos_lib','SCI/modules/scicos/macros/scicos');
 //------------------------------------
index 8f99670..242840c 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scsbranchinglib','SCI/modules/scicos/macros/scicos_blocks/Branching');
 //------------------------------------
index 25626b3..9f5d4c9 100644 (file)
@@ -1,6 +1,10 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scselectricallib','SCI/modules/scicos/macros/scicos_blocks/Electrical');
 //------------------------------------
 if MSDOS then
index b2f9797..a3b540f 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scseventslib','SCI/modules/scicos/macros/scicos_blocks/Events');
 //------------------------------------
index 99e87e8..868a4b1 100644 (file)
@@ -1,6 +1,10 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scshydraulicslib','SCI/modules/scicos/macros/scicos_blocks/Hydraulics'); 
 //------------------------------------
 if MSDOS then
index a344a49..023ab58 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scslinearlib','SCI/modules/scicos/macros/scicos_blocks/Linear');
 //------------------------------------
index 5d80c9d..5e1609e 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scsmisclib','SCI/modules/scicos/macros/scicos_blocks/Misc');
 //------------------------------------
index 40536ef..4bc285a 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scsnonlinearlib','SCI/modules/scicos/macros/scicos_blocks/NonLinear');
 //------------------------------------
index 70bd503..8dc74e7 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('PDElib','SCI/modules/scicos/macros/scicos_blocks/PDE');
 //------------------------------------
\ No newline at end of file
index 1268609..6330f23 100644 (file)
@@ -1,6 +1,10 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scssinkslib','SCI/modules/scicos/macros/scicos_blocks/Sinks');
 //------------------------------------
 
index aa65b38..145d319 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scssourceslib','SCI/modules/scicos/macros/scicos_blocks/Sources');
 //------------------------------------
index 6a4681c..971452b 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scsthresholdlib','SCI/modules/scicos/macros/scicos_blocks/Threshold');
 //------------------------------------
index 891d872..a86ddf1 100644 (file)
@@ -38,6 +38,9 @@ Source: bin\scicos.dll; DestDir: {app}\bin; DestName: scicos.dll
 ;
 ;Source: modules\{#SCICOS}\includes\*.h; DestDir: {app}\modules\{#SCICOS}\includes; Components: {#COMPN_SCICOS}
 ;
+;Source: modules\{#SCICOS}\macros\buildmacros.sce; DestDir: {app}\modules\{#SCICOS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCICOS}
+;Source: modules\{#SCICOS}\macros\buildmacros.bat; DestDir: {app}\modules\{#SCICOS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCICOS}
+;Source: modules\{#SCICOS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SCICOS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCICOS}
 ;Source: modules\{#SCICOS}\macros\lib; DestDir: {app}\modules\{#SCICOS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCICOS}
 ;Source: modules\{#SCICOS}\macros\names; DestDir: {app}\modules\{#SCICOS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCICOS}
 ;Source: modules\{#SCICOS}\macros\*.bin; DestDir: {app}\modules\{#SCICOS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCICOS}
diff --git a/scilab/modules/scilab2fortran/macros/buildmacros.bat b/scilab/modules/scilab2fortran/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index e5328e9..372abc2 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scilab2fortranlib','SCI/modules/scilab2fortran/macros');
 //------------------------------------
diff --git a/scilab/modules/scilab2fortran/macros/cleanmacros.bat b/scilab/modules/scilab2fortran/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 0b30e9f..f850097 100644 (file)
@@ -30,6 +30,8 @@ Source: modules\{#SCI2FOR}\macros\names; DestDir: {app}\modules\{#SCI2FOR}\macro
 Source: modules\{#SCI2FOR}\macros\*.bin; DestDir: {app}\modules\{#SCI2FOR}\macros; Components: {#COMPN_SCI2FOR}
 Source: modules\{#SCI2FOR}\macros\*.sci; DestDir: {app}\modules\{#SCI2FOR}\macros; Components: {#COMPN_SCI2FOR}
 Source: modules\{#SCI2FOR}\macros\buildmacros.sce; DestDir: {app}\modules\{#SCI2FOR}\macros; Components: {#COMPN_SCI2FOR}
+Source: modules\{#SCI2FOR}\macros\buildmacros.bat; DestDir: {app}\modules\{#SCI2FOR}\macros; Components: {#COMPN_SCI2FOR}
+Source: modules\{#SCI2FOR}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SCI2FOR}\macros; Components: {#COMPN_SCI2FOR}
 ;
 Source: modules\{#SCI2FOR}\demos\*.*; DestDir: {app}\modules\{#SCI2FOR}\demos; Flags: recursesubdirs; Components: {#COMPN_SCI2FOR}
 ;
diff --git a/scilab/modules/scipad/macros/buildmacros.bat b/scilab/modules/scipad/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 95c9b9b..96a20ea 100644 (file)
@@ -4,6 +4,10 @@
 // Copyright INRIA
 // Date :  Aout 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('scipadlib','SCI/modules/scipad/macros');
 genlib('scipadinternalslib','SCI/modules/scipad/macros/scipad_internals');
 //------------------------------------
diff --git a/scilab/modules/scipad/macros/cleanmacros.bat b/scilab/modules/scipad/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 5d0b839..7fb8962 100644 (file)
@@ -37,6 +37,8 @@ Source: modules\{#SCIPAD}\macros\scipad_internals\*.bin; DestDir: {app}\modules\
 Source: modules\{#SCIPAD}\macros\scipad_internals\dynamickeywords.sce; DestDir: {app}\modules\{#SCIPAD}\macros\scipad_internals; Components: {#COMPN_SCIPAD}
 ;
 Source: modules\{#SCIPAD}\macros\buildmacros.sce; DestDir: {app}\modules\{#SCIPAD}\macros; Components: {#COMPN_SCIPAD}
+Source: modules\{#SCIPAD}\macros\buildmacros.bat; DestDir: {app}\modules\{#SCIPAD}\macros; Components: {#COMPN_SCIPAD}
+Source: modules\{#SCIPAD}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SCIPAD}\macros; Components: {#COMPN_SCIPAD}
 ;
 Source: modules\{#SCIPAD}\tcl\*.*; DestDir: {app}\modules\{#SCIPAD}\tcl; Flags: recursesubdirs; Components: {#COMPN_SCIPAD}
 ;
diff --git a/scilab/modules/shell/macros/buildmacros.bat b/scilab/modules/shell/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index ed538fd..cf953c7 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2007
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('shelllib','SCI/modules/shell/macros');
 //------------------------------------
diff --git a/scilab/modules/shell/macros/cleanmacros.bat b/scilab/modules/shell/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 432e76d..1c84496 100644 (file)
@@ -35,6 +35,8 @@ Source: modules\{#SHELL}\help\*.htm; DestDir: {app}\modules\{#SHELL}\help; Flags
 Source: modules\{#SHELL}\locales\*.xml; DestDir: {app}\modules\{#SHELL}\locales; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#SHELL}\macros\buildmacros.sce; DestDir: {app}\modules\{#SHELL}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#SHELL}\macros\buildmacros.bat; DestDir: {app}\modules\{#SHELL}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#SHELL}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SHELL}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#SHELL}\macros\*.bin; DestDir: {app}\modules\{#SHELL}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#SHELL}\macros\*.sci; DestDir: {app}\modules\{#SHELL}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#SHELL}\macros\lib; DestDir: {app}\modules\{#SHELL}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/signal_processing/macros/buildmacros.bat b/scilab/modules/signal_processing/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index c55020e..b4eb3ef 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('signal_processinglib','SCI/modules/signal_processing/macros');
 //------------------------------------
diff --git a/scilab/modules/signal_processing/macros/cleanmacros.bat b/scilab/modules/signal_processing/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 9656389..84c4611 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#SIGPROC}\macros\names; DestDir: {app}\modules\{#SIGPROC}\macro
 Source: modules\{#SIGPROC}\macros\*.bin; DestDir: {app}\modules\{#SIGPROC}\macros; Components: {#COMPN_SIGPROC}
 Source: modules\{#SIGPROC}\macros\*.sci; DestDir: {app}\modules\{#SIGPROC}\macros; Components: {#COMPN_SIGPROC}
 Source: modules\{#SIGPROC}\macros\buildmacros.sce; DestDir: {app}\modules\{#SIGPROC}\macros; Components: {#COMPN_SIGPROC}
+Source: modules\{#SIGPROC}\macros\buildmacros.bat; DestDir: {app}\modules\{#SIGPROC}\macros; Components: {#COMPN_SIGPROC}
+Source: modules\{#SIGPROC}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SIGPROC}\macros; Components: {#COMPN_SIGPROC}
 ;
 Source: modules\{#SIGPROC}\demos\*.*; DestDir: {app}\modules\{#SIGPROC}\demos; Flags: recursesubdirs; Components: {#COMPN_SIGPROC}
 ;
diff --git a/scilab/modules/sound/macros/buildmacros.bat b/scilab/modules/sound/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index d9c3db3..5d76e7e 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('soundlib','SCI/modules/sound/macros');
 //------------------------------------
diff --git a/scilab/modules/sound/macros/cleanmacros.bat b/scilab/modules/sound/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 01f7a96..5a639a0 100644 (file)
@@ -34,6 +34,8 @@ Source: modules\{#SOUND}\help\*.htm; DestDir: {app}\modules\{#SOUND}\help; Flags
 Source: modules\{#SOUND}\locales\*.xml; DestDir: {app}\modules\{#SOUND}\locales; Flags: recursesubdirs; Components: {#COMPN_SOUND}
 ;
 Source: modules\{#SOUND}\macros\buildmacros.sce; DestDir: {app}\modules\{#SOUND}\macros; Components: {#COMPN_SOUND}
+Source: modules\{#SOUND}\macros\buildmacros.bat; DestDir: {app}\modules\{#SOUND}\macros; Components: {#COMPN_SOUND}
+Source: modules\{#SOUND}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SOUND}\macros; Components: {#COMPN_SOUND}
 Source: modules\{#SOUND}\macros\*.bin; DestDir: {app}\modules\{#SOUND}\macros; Components: {#COMPN_SOUND}
 Source: modules\{#SOUND}\macros\*.sci; DestDir: {app}\modules\{#SOUND}\macros; Components: {#COMPN_SOUND}
 Source: modules\{#SOUND}\macros\lib; DestDir: {app}\modules\{#SOUND}\macros; Components: {#COMPN_SOUND}
diff --git a/scilab/modules/sparse/macros/buildmacros.bat b/scilab/modules/sparse/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index bb20eaa..4c84435 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('sparselib','SCI/modules/sparse/macros');
 //------------------------------------
diff --git a/scilab/modules/sparse/macros/cleanmacros.bat b/scilab/modules/sparse/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index b7c1856..6304090 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#SPARSE}\locales\*.xml; DestDir: {app}\modules\{#SPARSE}\locale
 Source: modules\{#SPARSE}\includes\*.h; DestDir: {app}\modules\{#SPARSE}\includes; Components: {#COMPN_SPARSE}
 ;
 Source: modules\{#SPARSE}\macros\buildmacros.sce; DestDir: {app}\modules\{#SPARSE}\macros; Components: {#COMPN_SPARSE}
+Source: modules\{#SPARSE}\macros\buildmacros.bat; DestDir: {app}\modules\{#SPARSE}\macros; Components: {#COMPN_SPARSE}
+Source: modules\{#SPARSE}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SPARSE}\macros; Components: {#COMPN_SPARSE}
 Source: modules\{#SPARSE}\macros\lib; DestDir: {app}\modules\{#SPARSE}\macros; Components: {#COMPN_SPARSE}
 Source: modules\{#SPARSE}\macros\names; DestDir: {app}\modules\{#SPARSE}\macros; Components: {#COMPN_SPARSE}
 Source: modules\{#SPARSE}\macros\*.bin; DestDir: {app}\modules\{#SPARSE}\macros; Components: {#COMPN_SPARSE}
diff --git a/scilab/modules/special_functions/macros/buildmacros.bat b/scilab/modules/special_functions/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 52bd8cb..39611d5 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('special_functionslib','SCI/modules/special_functions/macros');
 //------------------------------------
diff --git a/scilab/modules/special_functions/macros/cleanmacros.bat b/scilab/modules/special_functions/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index b346594..08ca07d 100644 (file)
@@ -34,6 +34,8 @@ Source: modules\{#SPFUNCTIONS}\locales\*.xml; DestDir: {app}\modules\{#SPFUNCTIO
 ;Source: modules\{#SPFUNCTIONS}\macros\*.bin; DestDir: {app}\modules\{#SPFUNCTIONS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;Source: modules\{#SPFUNCTIONS}\macros\*.sci; DestDir: {app}\modules\{#SPFUNCTIONS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 Source: modules\{#SPFUNCTIONS}\macros\buildmacros.sce; DestDir: {app}\modules\{#SPFUNCTIONS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+Source: modules\{#SPFUNCTIONS}\macros\buildmacros.bat; DestDir: {app}\modules\{#SPFUNCTIONS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+Source: modules\{#SPFUNCTIONS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SPFUNCTIONS}\macros; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 ;Source: modules\{#SPFUNCTIONS}\demos\*.*; DestDir: {app}\modules\{#SPFUNCTIONS}\demos; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
diff --git a/scilab/modules/statistics/macros/buildmacros.bat b/scilab/modules/statistics/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 0d1c0ef..b02361c 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('statisticslib','SCI/modules/statistics/macros');
 //------------------------------------
diff --git a/scilab/modules/statistics/macros/cleanmacros.bat b/scilab/modules/statistics/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 26315f1..1dba82f 100644 (file)
@@ -32,6 +32,8 @@ Source: modules\{#STATS}\macros\names; DestDir: {app}\modules\{#STATS}\macros; C
 Source: modules\{#STATS}\macros\*.bin; DestDir: {app}\modules\{#STATS}\macros; Components: {#COMPN_STATS}
 Source: modules\{#STATS}\macros\*.sci; DestDir: {app}\modules\{#STATS}\macros; Components: {#COMPN_STATS}
 Source: modules\{#STATS}\macros\buildmacros.sce; DestDir: {app}\modules\{#STATS}\macros; Components: {#COMPN_STATS}
+Source: modules\{#STATS}\macros\buildmacros.bat; DestDir: {app}\modules\{#STATS}\macros; Components: {#COMPN_STATS}
+Source: modules\{#STATS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#STATS}\macros; Components: {#COMPN_STATS}
 ;
 ;Source: modules\{#STATS}\demos\*.*; DestDir: {app}\modules\{#STATS}\demos; Flags: recursesubdirs; Components: {#COMPN_STATS}
 ;
diff --git a/scilab/modules/string/macros/buildmacros.bat b/scilab/modules/string/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 1731243..a66bf98 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('stringlib','SCI/modules/string/macros');
 //------------------------------------
diff --git a/scilab/modules/string/macros/cleanmacros.bat b/scilab/modules/string/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 5a6d739..5f28e5d 100644 (file)
@@ -33,6 +33,8 @@ Source: modules\{#STRING}\locales\*.xml; DestDir: {app}\modules\{#STRING}\locale
 Source: modules\{#STRING}\includes\*.h; DestDir: {app}\modules\{#STRING}\includes; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#STRING}\macros\buildmacros.sce; DestDir: {app}\modules\{#STRING}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#STRING}\macros\buildmacros.bat; DestDir: {app}\modules\{#STRING}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#STRING}\macros\cleanmacros.bat; DestDir: {app}\modules\{#STRING}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#STRING}\macros\lib; DestDir: {app}\modules\{#STRING}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#STRING}\macros\names; DestDir: {app}\modules\{#STRING}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#STRING}\macros\*.bin; DestDir: {app}\modules\{#STRING}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/symbolic/macros/buildmacros.bat b/scilab/modules/symbolic/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 3908cd4..ec069d6 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('symboliclib','SCI/modules/symbolic/macros');
 //------------------------------------
diff --git a/scilab/modules/symbolic/macros/cleanmacros.bat b/scilab/modules/symbolic/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 6891229..416cf50 100644 (file)
@@ -37,6 +37,8 @@ Source: modules\{#SYMBOLIC}\includes\*.h; DestDir: {app}\modules\{#SYMBOLIC}\inc
 ;Source: modules\{#SYMBOLIC}\macros\*.bin; DestDir: {app}\modules\{#SYMBOLIC}\macros; Flags: recursesubdirs; Components: {#COMPN_SYMB}
 ;Source: modules\{#SYMBOLIC}\macros\*.sci; DestDir: {app}\modules\{#SYMBOLIC}\macros; Flags: recursesubdirs; Components: {#COMPN_SYMB}
 Source: modules\{#SYMBOLIC}\macros\buildmacros.sce; DestDir: {app}\modules\{#SYMBOLIC}\macros; Flags: recursesubdirs; Components: {#COMPN_SYMB}
+Source: modules\{#SYMBOLIC}\macros\buildmacros.bat; DestDir: {app}\modules\{#SYMBOLIC}\macros; Flags: recursesubdirs; Components: {#COMPN_SYMB}
+Source: modules\{#SYMBOLIC}\macros\cleanmacros.bat; DestDir: {app}\modules\{#SYMBOLIC}\macros; Flags: recursesubdirs; Components: {#COMPN_SYMB}
 ;
 ;Source: modules\{#SYMBOLIC}\demos\*.*; DestDir: {app}\modules\{#SYMBOLIC}\demos; Flags: recursesubdirs; Components: {#COMPN_SYMB}
 ;
diff --git a/scilab/modules/tclsci/macros/buildmacros.bat b/scilab/modules/tclsci/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index c53bb03..085871e 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('tclscilib','SCI/modules/tclsci/macros');
 //------------------------------------
diff --git a/scilab/modules/tclsci/macros/cleanmacros.bat b/scilab/modules/tclsci/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 47e5d45..f4ddf6d 100644 (file)
@@ -37,6 +37,8 @@ Source: modules\{#TCLSCI}\macros\names; DestDir: {app}\modules\{#TCLSCI}\macros;
 Source: modules\{#TCLSCI}\macros\*.bin; DestDir: {app}\modules\{#TCLSCI}\macros; Components: {#COMPN_TCLSCI}
 Source: modules\{#TCLSCI}\macros\*.sci; DestDir: {app}\modules\{#TCLSCI}\macros; Components: {#COMPN_TCLSCI}
 Source: modules\{#TCLSCI}\macros\buildmacros.sce; DestDir: {app}\modules\{#TCLSCI}\macros; Components: {#COMPN_TCLSCI}
+Source: modules\{#TCLSCI}\macros\buildmacros.bat; DestDir: {app}\modules\{#TCLSCI}\macros; Components: {#COMPN_TCLSCI}
+Source: modules\{#TCLSCI}\macros\cleanmacros.bat; DestDir: {app}\modules\{#TCLSCI}\macros; Components: {#COMPN_TCLSCI}
 ;
 Source: modules\{#TCLSCI}\tcl\*.*; DestDir: {app}\modules\{#TCLSCI}\tcl; Flags: recursesubdirs; Components: {#COMPN_TCLSCI}
 ;
diff --git a/scilab/modules/texmacs/macros/buildmacros.bat b/scilab/modules/texmacs/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index ea3d940..1913c8c 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2006
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('texmacslib','SCI/modules/texmacs/macros');
 //------------------------------------
diff --git a/scilab/modules/texmacs/macros/cleanmacros.bat b/scilab/modules/texmacs/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 4d2624e..ff5ccfd 100644 (file)
@@ -24,6 +24,8 @@ Source: modules\{#TEXMACS}\macros\names; DestDir: {app}\modules\{#TEXMACS}\macro
 Source: modules\{#TEXMACS}\macros\*.bin; DestDir: {app}\modules\{#TEXMACS}\macros; Components: {#COMPN_TEXMACS}
 Source: modules\{#TEXMACS}\macros\*.sci; DestDir: {app}\modules\{#TEXMACS}\macros; Components: {#COMPN_TEXMACS}
 Source: modules\{#TEXMACS}\macros\buildmacros.sce; DestDir: {app}\modules\{#TEXMACS}\macros; Components: {#COMPN_TEXMACS}
+Source: modules\{#TEXMACS}\macros\buildmacros.bat; DestDir: {app}\modules\{#TEXMACS}\macros; Components: {#COMPN_TEXMACS}
+Source: modules\{#TEXMACS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#TEXMACS}\macros; Components: {#COMPN_TEXMACS}
 ;
 ;Source: modules\{#TEXMACS}\demos\*.*; DestDir: {app}\modules\{#TEXMACS}\demos; Flags: recursesubdirs; Components: {#COMPN_TEXMACS}
 ;
diff --git a/scilab/modules/time/macros/buildmacros.bat b/scilab/modules/time/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index 2d85ec6..4ab5d6f 100644 (file)
@@ -4,5 +4,9 @@
 // Copyright INRIA
 // Date :  d├ęcembre 2005
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 genlib('timelib','SCI/modules/time/macros');
 //------------------------------------
diff --git a/scilab/modules/time/macros/cleanmacros.bat b/scilab/modules/time/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index c012af7..1c1ea3d 100644 (file)
@@ -33,6 +33,8 @@ Source: modules\{#TIME}\help\*.htm; DestDir: {app}\modules\{#TIME}\help; Flags:
 Source: modules\{#TIME}\locales\*.xml; DestDir: {app}\modules\{#TIME}\locales; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#TIME}\macros\buildmacros.sce; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\macros\buildmacros.bat; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#TIME}\macros\cleanmacros.bat; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#TIME}\macros\*.bin; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#TIME}\macros\*.sci; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#TIME}\macros\lib; DestDir: {app}\modules\{#TIME}\macros; Components: {#COMPN_SCILAB}
diff --git a/scilab/modules/windows_tools/macros/buildmacros.bat b/scilab/modules/windows_tools/macros/buildmacros.bat
new file mode 100644 (file)
index 0000000..c4e35ec
--- /dev/null
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file
index dd0099f..5897320 100644 (file)
@@ -1,5 +1,9 @@
 //------------------------------------
 // Allan CORNET INRIA 2007
 //------------------------------------
+if (isdef('genlib') == %f) then
+  exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
+end
+//------------------------------------
 //genlib('windows_toolslib','SCI/modules/windows_tools/macros');
 //------------------------------------
diff --git a/scilab/modules/windows_tools/macros/cleanmacros.bat b/scilab/modules/windows_tools/macros/cleanmacros.bat
new file mode 100644 (file)
index 0000000..fbd90e5
--- /dev/null
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL\r
+@del lib 2>NUL\r
+@del names 2>NUL
\ No newline at end of file
index 6b1b625..5f04f80 100644 (file)
@@ -35,7 +35,9 @@ Source: modules\{#WINDOWS_TOOLS}\help\*.htm; DestDir: {app}\modules\{#WINDOWS_TO
 ;
 Source: modules\{#WINDOWS_TOOLS}\locales\*.xml; DestDir: {app}\modules\{#WINDOWS_TOOLS}\locales; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
 ;
-;Source: modules\{#WINDOWS_TOOLS}\macros\buildmacros.sce; DestDir: {app}\modules\{#WINDOWS_TOOLS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#WINDOWS_TOOLS}\macros\buildmacros.sce; DestDir: {app}\modules\{#WINDOWS_TOOLS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#WINDOWS_TOOLS}\macros\buildmacros.bat; DestDir: {app}\modules\{#WINDOWS_TOOLS}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#WINDOWS_TOOLS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#WINDOWS_TOOLS}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#WINDOWS_TOOLS}\macros\*.bin; DestDir: {app}\modules\{#WINDOWS_TOOLS}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#WINDOWS_TOOLS}\macros\*.sci; DestDir: {app}\modules\{#WINDOWS_TOOLS}\macros; Components: {#COMPN_SCILAB}
 ;Source: modules\{#WINDOWS_TOOLS}\macros\lib; DestDir: {app}\modules\{#WINDOWS_TOOLS}\macros; Components: {#COMPN_SCILAB}