documentation/Makefile
author Florian Pose <fp@igh-essen.com>
Tue, 07 Nov 2006 12:13:30 +0000
branchstable-1.1
changeset 1732 1cc865ba17c2
parent 1727 861f4715ed6f
permissions -rw-r--r--
MERGE trunk -r588:681 -> branches/stable-1.1 (Bugfixes, Ack behaviour, CoE via Sysfs, PDO ranges, 2.6.17 support, improved autotools, documentation)
#------------------------------------------------------------------------------
#
#  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 *~

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