diff options
author | jofret | 2010-02-03 14:59:38 +0000 |
---|---|---|
committer | jofret | 2010-02-03 14:59:38 +0000 |
commit | f054a243d27f61cab7bd197b1eb38d4a41697d74 (patch) | |
tree | f3ac840150f074eaa681ca6e0d2a8b3fc38b07dd /macros | |
parent | ac71b4c4a291e858ec7d30416cfbe5025ae1f7cc (diff) | |
download | scilab2c-f054a243d27f61cab7bd197b1eb38d4a41697d74.tar.gz scilab2c-f054a243d27f61cab7bd197b1eb38d4a41697d74.tar.bz2 scilab2c-f054a243d27f61cab7bd197b1eb38d4a41697d74.zip |
Find sci2c root place for various installation process
Diffstat (limited to 'macros')
-rw-r--r-- | macros/runsci2c.sci | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/macros/runsci2c.sci b/macros/runsci2c.sci index 3a5bd0c9..f23770aa 100644 --- a/macros/runsci2c.sci +++ b/macros/runsci2c.sci @@ -89,9 +89,10 @@ end // ---------------------------
// --- Copy library files. ---
// ---------------------------
-allSources = getAllSources();
-allHeaders = getAllHeaders();
-allInterfaces = getAllInterfaces();
+global SCI2CHOME
+allSources = SCI2CHOME + "/" + getAllSources();
+allHeaders = SCI2CHOME + "/" +getAllHeaders();
+allInterfaces = SCI2CHOME + "/" + getAllInterfaces();
mkdir(SCI2COutputPath+"/src/");
mkdir(SCI2COutputPath+"/src/c/");
@@ -102,7 +103,7 @@ mkdir(SCI2COutputPath+"/interfaces/"); PrintStepInfo('Copying sources needed in ' + SCI2COutputPath + ...
"/src/c/", FileInfo.GeneralReport,'both');
for i = 1:size(allSources, "*")
- //disp("Copying "+allSources(i)+" in "+SCI2COutputPath+"/src/c/");
+ disp("Copying "+allSources(i)+" in "+SCI2COutputPath+"/src/c/");
copyfile(allSources(i), SCI2COutputPath+"/src/c/");
end
@@ -110,7 +111,7 @@ end PrintStepInfo('Copying headers needed in ' + SCI2COutputPath + ...
"/includes/", FileInfo.GeneralReport,'both');
for i = 1:size(allHeaders, "*")
- //disp("Copying "+allHeaders(i)+" in "+SCI2COutputPath+"/includes/");
+ disp("Copying "+allHeaders(i)+" in "+SCI2COutputPath+"/includes/");
copyfile(allHeaders(i), SCI2COutputPath+"/includes/");
end
@@ -118,7 +119,7 @@ end PrintStepInfo('Copying interfaces needed in ' + SCI2COutputPath + ...
"/interfaces/", FileInfo.GeneralReport,'both');
for i = 1:size(allInterfaces, "*")
- //disp("Copying "+allInterfaces(i)+" in "+SCI2COutputPath+"/interfaces/");
+ disp("Copying "+allInterfaces(i)+" in "+SCI2COutputPath+"/interfaces/");
copyfile(allInterfaces(i), SCI2COutputPath+"/interfaces/");
end
|