Diff of /post_install.m [e85390] .. [3394b8]  Maximize  Restore

  Switch to side-by-side view

--- a/post_install.m
+++ b/post_install.m
@@ -1,3 +1,17 @@
+## Copyright (C) 2013 Marco Vassallo <gedeone-octave@users.sourceforge.net>
+##
+## This program is free software; you can redistribute it and/or modify it under
+## the terms of the GNU General Public License as published by the Free Software
+## Foundation; either version 3 of the License, or (at your option) any later
+## version.
+##
+## This program is distributed in the hope that it will be useful, but WITHOUT
+## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+## details.
+##
+## You should have received a copy of the GNU General Public License along with
+## this program; if not, see <http://www.gnu.org/licenses/>.
 
 function post_install (desc)
 
@@ -17,79 +31,4 @@
   if (status != 1)
     error ("couldn't copy file: %s", msg);
   endif
-
-#  status = movefile  ('./inst/generate_lhs.m', private, 'f');
-#  status += movefile ('./inst/generate_rhs.m', private, 'f');
-#  status += movefile ('./inst/generate_fs.m', private, 'f');
-#  status += movefile ('./inst/generate_fun.m', private, 'f');
-#  status += movefile ('./inst/generate_makefile.m', private, 'f');
-#  if (status != 5)
-#    error ("couldn't copy file: %s", msg);
-#  endif
-
-#  func = fullfile (desc.dir, "@function");
-#  [status, msg] = mkdir (func);
-#  if (status != 1)
-#    error ("couldn't create @function directory: %s", msg);
-#  endif
-
-#  mesh = fullfile (desc.dir, "@mesh");
-#  [status, msg] = mkdir (mesh);
-#  if (status != 1)
-#    error ("couldn't create @function directory: %s", msg);
-#  endif
-
-#  [status, msg, msgid] = movefile ('./src/feval.oct', func, 'f');
-#  if (status != 1)
-#    error ("couldn't copy file: %s", msg);
-#  endif
-
-#  [status, msg, msgid] = movefile ('./src/save.oct', func, 'f');
-#  if (status != 1)
-#    error ("couldn't copy file: %s", msg);
-#  endif
-
-#  new_name = fullfile (func, 'plot.oct');
-#  [status, msg, msgid] = movefile ('./src/plot_func.oct', new_name, 'f');
-#  if (status != 1)
-#    error ("couldn't copy file: %s", msg);
-#  endif
-
-#  new_name = fullfile (mesh, 'plot.oct');
-#  [status, msg, msgid] = movefile ('./src/plot_mesh.oct', new_name, 'f');
-#  if (status != 1)
-#    error ("couldn't copy file: %s", msg);
-#  endif
-
-#  file = cstrcat (desc.archprefix, filesep, octave_config_info ("canonical_host_type"),
-#                  "-", octave_config_info ("api_version"), filesep, "feval.oct");
-#  [err, msg] = unlink (file);
-
-#  file = cstrcat (desc.archprefix, filesep, octave_config_info ("canonical_host_type"),
-#                  "-", octave_config_info ("api_version"), filesep, "save.oct");
-#  [err, msg] = unlink (file);
-
-#  file = cstrcat (desc.archprefix, filesep, octave_config_info ("canonical_host_type"),
-#                  "-", octave_config_info ("api_version"), filesep, "plot_mesh.oct");
-#  [err, msg] = unlink (file);
-
-#  file = cstrcat (desc.archprefix, filesep, octave_config_info ("canonical_host_type"),
-#                  "-", octave_config_info ("api_version"), filesep, "plot_func.oct");
-#  [err, msg] = unlink (file);
-
-#  file = cstrcat (desc.archprefix, filesep, "generate_lhs.m");
-#  [err, msg] = unlink (file);
-
-#  file = cstrcat (desc.archprefix, filesep, "generate_rhs.m");
-#  [err, msg] = unlink (file);
-
-#  file = cstrcat (desc.archprefix, filesep, "generate_fun.m");
-#  [err, msg] = unlink (file);
-
-#  file = cstrcat (desc.archprefix, filesep, "generate_fs.m");
-#  [err, msg] = unlink (file);
-
-#  file = cstrcat (desc.archprefix, filesep, "generate_makefile.m");
-#  [err, msg] = unlink (file);
-
 endfunction

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks