aboutsummaryrefslogtreecommitdiff
path: root/doc/latex/Makefile
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-20 15:39:56 -0300
committerSilvio <silvio@devlet.com.br>2010-08-20 15:39:56 -0300
commitb879f0fcc8651b49ae46a6db64d7eb1a27c7af1a (patch)
tree5fd92d1ec675d64bf1a79e8f246a99c2e47f8e2b /doc/latex/Makefile
parent298ac8892db90e518da71540c8fab72f885d66ff (diff)
downloadcinisis-b879f0fcc8651b49ae46a6db64d7eb1a27c7af1a.tar.gz
cinisis-b879f0fcc8651b49ae46a6db64d7eb1a27c7af1a.tar.bz2
Adding generated docs
Diffstat (limited to 'doc/latex/Makefile')
-rw-r--r--doc/latex/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/latex/Makefile b/doc/latex/Makefile
new file mode 100644
index 0000000..8b7c89a
--- /dev/null
+++ b/doc/latex/Makefile
@@ -0,0 +1,19 @@
+all: clean refman.pdf
+
+pdf: refman.pdf
+
+refman.pdf: refman.tex
+ pdflatex refman.tex
+ makeindex refman.idx
+ pdflatex refman.tex
+ latex_count=5 ; \
+ while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
+ do \
+ echo "Rerunning latex...." ;\
+ pdflatex refman.tex ;\
+ latex_count=`expr $$latex_count - 1` ;\
+ done
+
+
+clean:
+ rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf