diff -r 00fc593f14fc -r 861f4715ed6f documentation/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/documentation/Makefile Mon Sep 25 17:28:31 2006 +0000 @@ -0,0 +1,37 @@ +#------------------------------------------------------------------------------ +# +# LaTeX Makefile +# +# $Id$ +# +#------------------------------------------------------------------------------ + +FILE := ethercat_doc + +LATEX_OPTIONS := -file-line-error-style + +#------------------------------------------------------------------------------ + +first: pdf + +all: dvi pdf + +dvi: + latex $(LATEX_OPTIONS) \\nonstopmode\\input{$(FILE).tex} + +pdf: + pdflatex $(LATEX_OPTIONS) $(FILE) + +index: + makeindex $(FILE) + makeindex $(FILE).glo -s nomencl.ist -o $(FILE).gls + +clean: + @rm -f $(FILE).aux $(FILE).dvi $(FILE).idx \ + $(FILE).ilg $(FILE).ind $(FILE).log \ + $(FILE).out $(FILE).pdf $(FILE).ps \ + $(FILE).toc $(FILE).lot $(FILE).lof \ + $(FILE).lol $(FILE).glo $(FILE).gls \ + images/*.bak *~ + +#------------------------------------------------------------------------------