diff options
Diffstat (limited to 'scilab_doc/Matlab_Scilab_dictionary/Makefile')
-rw-r--r-- | scilab_doc/Matlab_Scilab_dictionary/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/scilab_doc/Matlab_Scilab_dictionary/Makefile b/scilab_doc/Matlab_Scilab_dictionary/Makefile new file mode 100644 index 0000000..79c990c --- /dev/null +++ b/scilab_doc/Matlab_Scilab_dictionary/Makefile | |||
@@ -0,0 +1,31 @@ | |||
1 | LATEX = latex | ||
2 | |||
3 | RM = rm | ||
4 | |||
5 | PDFLATEX = pdflatex | ||
6 | |||
7 | MAKEINDEX = makeindex | ||
8 | |||
9 | doc : | ||
10 | echo "Generating HTML and TEX files..." | ||
11 | echo "exec('makedoc.sce');quit;" | scilab -nw | ||
12 | echo "Compiling TEX files..." | ||
13 | $(LATEX) M2SCI.tex | ||
14 | $(PDFLATEX) M2SCI.tex | ||
15 | $(LATEX) SCI2M.tex | ||
16 | $(PDFLATEX) SCI2M.tex | ||
17 | echo "Generating TEX index files..." | ||
18 | $(MAKEINDEX) M2SCI.idx | ||
19 | $(MAKEINDEX) SCI2M.idx | ||
20 | echo "Re-Compiling TEX files..." | ||
21 | $(LATEX) M2SCI.tex | ||
22 | $(PDFLATEX) M2SCI.tex | ||
23 | $(LATEX) SCI2M.tex | ||
24 | $(PDFLATEX) SCI2M.tex | ||
25 | |||
26 | clean : | ||
27 | $(RM) -f M2SCI.* | ||
28 | $(RM) -f SCI2M.* | ||
29 | $(RM) -f ./html/M2SCI.htm | ||
30 | $(RM) -f ./html/SCI2M.htm | ||
31 | $(RM) -f ./html/*_index.htm \ No newline at end of file | ||