graphics: bug 9270 fixed - The contour function was broken.
[scilab.git] / scilab_doc / scicos / Makefile
1 SHELL = /bin/sh
2
3 include ../../Version.incl
4 SCIDIR=../..
5 SCIDOC=$(SCIDIR)/../$(SCIVERSION)/doc
6 include ../../Makefile.incl
7
8 TEXFILES = scicos.tex 
9
10 all:: $(SCIDOC)/Scicos.ps
11
12
13 $(SCIDOC)/Scicos.ps: $(TEXFILES)
14         latex scicos
15         latex scicos
16         $(RM) $(SCIDOC)/Scicos.ps
17         dvips -o $(SCIDOC)/Scicos.ps scicos.dvi
18
19 clean::
20         $(RM) *.aux *.log  *.dvi *.ind *.idx *.ilg *.lof *.lot *.toc \
21         scicos_pdf.* *.tmp Scicos_pdf.ps
22 distclean::
23         $(RM) *.aux *.log  *.dvi *.ind *.idx *.ilg *.lof *.lot *.toc \
24         scicos_pdf.* *.tmp Scicos_pdf.ps
25
26 pdf: $(TEXFILES)
27         awk '{if ($$1~"documentclass") \
28         {printf "%s\n\\usepackage[dvips,colorlinks=true]{hyperref}\n",$$1} else {print $$0} }' \
29         scicos.tex > scicos_pdf.tex
30         latex scicos_pdf
31         latex scicos_pdf
32         dvips -z -o Scicos_pdf.ps scicos_pdf.dvi