author | Florian Pose <fp@igh-essen.com> |
Fri, 10 Aug 2007 13:46:34 +0000 | |
changeset 697 | 6f658c2082fd |
parent 371 | 97f684433d3b |
child 1140 | cc779f7d2496 |
permissions | -rw-r--r-- |
369 | 1 |
#------------------------------------------------------------------------------ |
2 |
# |
|
3 |
# LaTeX Makefile |
|
4 |
# |
|
5 |
# $Id$ |
|
6 |
# |
|
7 |
#------------------------------------------------------------------------------ |
|
8 |
||
9 |
FILE := ethercat_doc |
|
10 |
||
11 |
LATEX_OPTIONS := -file-line-error-style |
|
12 |
||
13 |
#------------------------------------------------------------------------------ |
|
14 |
||
371
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
15 |
first: pdf |
369 | 16 |
|
17 |
all: dvi pdf |
|
18 |
||
371
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
19 |
dvi: |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
20 |
latex $(LATEX_OPTIONS) \\nonstopmode\\input{$(FILE).tex} |
369 | 21 |
|
371
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
22 |
pdf: |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
23 |
pdflatex $(LATEX_OPTIONS) $(FILE) |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
24 |
|
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
25 |
index: |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
26 |
makeindex $(FILE) |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
27 |
makeindex $(FILE).glo -s nomencl.ist -o $(FILE).gls |
369 | 28 |
|
29 |
clean: |
|
30 |
@rm -f $(FILE).aux $(FILE).dvi $(FILE).idx \ |
|
371
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
31 |
$(FILE).ilg $(FILE).ind $(FILE).log \ |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
32 |
$(FILE).out $(FILE).pdf $(FILE).ps \ |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
33 |
$(FILE).toc $(FILE).lot $(FILE).lof \ |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
34 |
$(FILE).lol $(FILE).glo $(FILE).gls \ |
97f684433d3b
Improved documentation makefile, removed svn.sty, fixed LaTeX penalties.
Florian Pose <fp@igh-essen.com>
parents:
370
diff
changeset
|
35 |
images/*.bak *~ |
369 | 36 |
|
37 |
#------------------------------------------------------------------------------ |