0001 function MakeDoc
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 if exist('m2html','file')==2
0014
0015 eval('!rm -rf Doc');
0016
0017 m2html('mfiles','.','htmldir','Doc','recursive','on','global','on','template','IRI','index','menu','graph','on','todo','on');
0018
0019
0020 eval('!sed -i ''s/\.\.\///g'' Doc/*.html');
0021 else
0022 error('m2html is not in the path');
0023 end