documentation/Makefile
author Florian Pose <fp@igh-essen.com>
Thu, 28 Sep 2006 08:31:33 +0000
branchstable-1.1
changeset 1730 27a1aee7e254
parent 1727 861f4715ed6f
permissions -rw-r--r--
MERGE trunk -r571:572 -> branches/stable-1.1 (INSTALL file)
1727
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#  LaTeX Makefile
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  $Id$
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#------------------------------------------------------------------------------
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
FILE := ethercat_doc
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
LATEX_OPTIONS := -file-line-error-style
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
#------------------------------------------------------------------------------
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
first: pdf
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
all: dvi pdf
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
dvi:
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
	latex $(LATEX_OPTIONS) \\nonstopmode\\input{$(FILE).tex}
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
pdf:
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    23
	pdflatex $(LATEX_OPTIONS) $(FILE)
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
index:
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
	makeindex $(FILE)
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
	makeindex $(FILE).glo -s nomencl.ist -o $(FILE).gls
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
clean:
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
	@rm -f $(FILE).aux $(FILE).dvi $(FILE).idx \
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
		$(FILE).ilg $(FILE).ind $(FILE).log \
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
		$(FILE).out $(FILE).pdf $(FILE).ps \
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
		$(FILE).toc $(FILE).lot $(FILE).lof \
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
		$(FILE).lol $(FILE).glo $(FILE).gls \
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    35
		images/*.bak *~
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    36
861f4715ed6f MERGE trunk -r556:562 -> branches/stable-1.1 (new doc)
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    37
#------------------------------------------------------------------------------