1# ===================================================================== 2# Makefile for the arith library documentation 3# ===================================================================== 4 5# --------------------------------------------------------------------- 6# Pathname to the arith help files 7# --------------------------------------------------------------------- 8Help=../help 9 10# --------------------------------------------------------------------- 11# Pathname to the doc-to-tex script and doc-to-tex.sed file 12# --------------------------------------------------------------------- 13DOCTOTEXEXE=../../../../help/src/Doc2Tex.exe 14 15# --------------------------------------------------------------------- 16# Pathname to the makeindex script 17# --------------------------------------------------------------------- 18MAKEINDEX=makeindex 19 20default: all 21 22# --------------------------------------------------------------------- 23# Remove all trace of previous LaTeX jobs 24# --------------------------------------------------------------------- 25clean: 26 rm -f *.dvi *.aux *.toc *.log *.idx *.ilg *.ind entries.tex 27 28tex: ids 29 @echo "TeX files made" 30 31ids: 32 @echo "\chapter{ML Functions in the arith Library}">entries.tex 33 @echo "\input{entries-intro}" >> entries.tex 34 ${DOCTOTEXEXE} ${Help}/entries entries.tex 35 36index: 37 ${MAKEINDEX} arith.idx 38 39arith: 40 latex arith.tex 41 42ps: 43 dvips arith.dvi -o 44 45pdf: 46 pdflatex arith.tex 47 48all: 49 make clean; make tex; make arith; make index; make arith ps pdf 50