aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api-ref/latex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api-ref/latex/Makefile')
-rw-r--r--doc/api-ref/latex/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/api-ref/latex/Makefile b/doc/api-ref/latex/Makefile
new file mode 100644
index 0000000..8cc3866
--- /dev/null
+++ b/doc/api-ref/latex/Makefile
@@ -0,0 +1,21 @@
+all: refman.pdf
+
+pdf: refman.pdf
+
+refman.pdf: clean refman.tex
+ pdflatex refman
+ makeindex refman.idx
+ pdflatex refman
+ latex_count=8 ; \
+ while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
+ do \
+ echo "Rerunning latex...." ;\
+ pdflatex refman ;\
+ latex_count=`expr $$latex_count - 1` ;\
+ done
+ makeindex refman.idx
+ pdflatex refman
+
+
+clean:
+ rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf