Patch from: Joe Vornehm

(coreFiles): Add matlab-publish.el and company-matlab-shell.el
(mktemplatedir,mktoolboxdir): Pay attention to destination argument.
This commit is contained in:
zappo 2010-10-14 14:17:52 +00:00
parent 6dba92521e
commit 8f3ce4c0de

View file

@ -30,6 +30,7 @@ function dl_emacs_support(varargin)
end
coreFiles = { 'matlab-load.el' 'matlab.el' 'mlint.el' ...
'matlab-publish.el' 'company-matlab-shell.el' ...
'toolbox/emacsinit.m' 'toolbox/opentoline.m' };
tlcFiles = { 'tlc.el' };
cedetFiles = { 'cedet-matlab.el' 'semantic-matlab.el' ...
@ -66,14 +67,16 @@ function dl_emacs_support(varargin)
end
function mktemplatedir
if ~exist('templates','dir')
mkdir('templates');
templateDir = fullfile(stuff.destination,'templates');
if ~exist(templateDir,'dir')
mkdir(templateDir);
end
end
function mktoolboxdir
if ~exist('toolbox','dir')
mkdir('toolbox');
toolboxDir = fullfile(stuff.destination,'toolbox');
if ~exist(toolboxDir,'dir')
mkdir(toolboxDir);
end
end