documentation/Makefile
author Florian Pose <fp@igh-essen.com>
Wed, 27 Sep 2006 15:25:04 +0000
branchstable-1.1
changeset 1729 bcc41c8986bc
parent 1727 861f4715ed6f
permissions -rw-r--r--
MERGE trunk -r569:570 -> branches/stable-1.1 (doc)
#------------------------------------------------------------------------------
#
#  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 *~

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