summaryrefslogtreecommitdiffstats
path: root/scilab_doc/Matlab_Scilab_dictionary/Makefile
blob: 79c990c44f93f5aa12257e9c2667d820ad876eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
LATEX = latex

RM = rm

PDFLATEX = pdflatex

MAKEINDEX = makeindex

doc :
	echo "Generating HTML and TEX files..."
	echo "exec('makedoc.sce');quit;" | scilab -nw
	echo "Compiling TEX files..."
	$(LATEX) M2SCI.tex
	$(PDFLATEX) M2SCI.tex
	$(LATEX) SCI2M.tex
	$(PDFLATEX) SCI2M.tex
	echo "Generating TEX index files..."
	$(MAKEINDEX) M2SCI.idx
	$(MAKEINDEX) SCI2M.idx
	echo "Re-Compiling TEX files..."
	$(LATEX) M2SCI.tex
	$(PDFLATEX) M2SCI.tex
	$(LATEX) SCI2M.tex
	$(PDFLATEX) SCI2M.tex

clean :
	$(RM) -f M2SCI.*
	$(RM) -f SCI2M.*
	$(RM) -f ./html/M2SCI.htm
	$(RM) -f ./html/SCI2M.htm
	$(RM) -f ./html/*_index.htm