# HG changeset patch # User gedeone-octave # Date 1383508985 0 # Node ID 3394b84b945ede29f32f030a61d11dffd2e57b2c # Parent e85390ed620dd4f310b62f1861770786cd233657 Update the information for the release of the pkg. diff -r e85390ed620d -r 3394b84b945e DESCRIPTION --- a/DESCRIPTION Sat Oct 26 17:24:56 2013 +0100 +++ b/DESCRIPTION Sun Nov 03 20:03:05 2013 +0000 @@ -1,6 +1,6 @@ Name: fem-fenics Version: 0.0.0 -Date: 2013-11-09 +Date: 2013-11-03 Author: Marco Vassalo Maintainer: Marco Vassallo Title: fem-fenics diff -r e85390ed620d -r 3394b84b945e post_install.m --- a/post_install.m Sat Oct 26 17:24:56 2013 +0100 +++ b/post_install.m Sun Nov 03 20:03:05 2013 +0000 @@ -1,3 +1,17 @@ +## Copyright (C) 2013 Marco Vassallo +## +## 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 . 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