added doc/Makefile for generating tex documents

This commit is contained in:
salva 2006-03-29 12:58:37 +00:00
parent de7bec431f
commit 3a98bc41ed

14
doc/Makefile Normal file
View File

@ -0,0 +1,14 @@
SRC = guide_en.tex wmii.tex
Odvi = ${SRC:.tex=.dvi}
Opdf = ${SRC:.tex=.pdf}
all: ${Odvi} ${Opdf}
@echo Finished doc
@echo -------------------------------------------------------
%.dvi: %.tex
latex -interaction=batchmode $<
latex -interaction=batchmode $<
%.pdf: %.tex
pdflatex $<
clean:
rm -f *.pdf *.dvi *.log *.aux *.out *.toc