changeset 59:65aa84962d38

Script for post installation process. * post_install.m: File needed for the creation of function on the fly are copied in a private folder.
author gedeone-octave <marco.vassallo@outlook.com>
date Thu, 25 Jul 2013 12:45:21 +0200
parents 389967a7f307
children 21eff545a004
files post_install.m
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/post_install.m	Thu Jul 25 12:45:21 2013 +0200
@@ -0,0 +1,12 @@
+
+function post_install (desc)
+  private = fullfile (desc.dir, "private");
+  mkdir(private);
+  [status, msg] = mkdir (private);
+  if (status != 1)
+    error ("couldn't create private directory: %s", msg);
+  endif
+
+  movefile ('./src/*.h', private, 'f');
+  movefile ('./src/fem_init_env.o', private, 'f');
+endfunction