documentation/Makefile
author Florian Pose <fp@igh-essen.com>
Fri, 18 Apr 2008 12:33:35 +0000
changeset 897 855c5d2d97f0
parent 371 97f684433d3b
child 1140 cc779f7d2496
permissions -rw-r--r--
Added alpha support for the Realtek r8169 chipset, thanks to Scott
Hassan.
#------------------------------------------------------------------------------
#
#  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 *~

#------------------------------------------------------------------------------