summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/doc/Makefile.latexinit
blob: 152c392b6f02738f626c12db75476b268634c36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Makefile.latexinit
# Copyright (c) Markus Kohm, 2002-2008
#
# This file is part of the LaTeX2e KOMA-Script bundle.
#
# This work may be distributed and/or modified under the conditions of
# the LaTeX Project Public License, version 1.3b of the license.
# The latest version of this license is in
#   http://www.latex-project.org/lppl.txt
# and version 1.3b or later is part of all distributions of LaTeX
# version 2005/12/01 or later and of this work.
#
# This work has the LPPL maintenance status "author-maintained".
#
# The Current Maintainer and author of this work is Markus Kohm.
#
# This work consists of all files listed in manifest.txt.
# ----------------------------------------------------------------------
# Makefile.latexinit
# Copyright (c) Markus Kohm, 2002-2006
#
# Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
# Version 1.3b, verteilt und/oder veraendert werden.
# Die neuste Version dieser Lizenz ist
#   http://www.latex-project.org/lppl.txt
# und Version 1.3b ist Teil aller Verteilungen von LaTeX
# Version 2005/12/01 oder spaeter und dieses Werks.
#
# Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained"
# (allein durch den Autor verwaltet).
#
# Der Aktuelle Verwalter und Autor dieses Werkes ist Markus Kohm.
#
# Dieses Werk besteht aus den in manifest.txt aufgefuehrten Dateien.
# ======================================================================

# Read input first from basedir and doc dir
TEXINPUTS	:= ./:$(DOCDIR):$(BASEDIR):$(TEXINPUTS)

BIBINPUTS       = $(DOCDIR):$(shell kpsewhich -expand-var=\$$BIBINPUTS)
BSTINPUTS       = $(DOCDIR):$(shell kpsewhich -expand-var=\$$BSTINPUTS)
BIBTEX_SRC      = $(DOCDIR)guide.bib

MAKEINDEXSTYLE  = $(DOCDIR)scrguide.ist
MAKEINDEXOPT    = -r -s $(MAKEINDEXSTYLE) -o
MAKEINDEX	= makeindex $(MAKEINDEXOPT)

MAKECHANGESTYLE = $(DOCDIR)scrguide.gst
MAKECHANGEOPT   = -r -s $(MAKECHANGESTYLE) -o
MAKECHANGE      = makeindex $(MAKECHANGEOPT)

PDFLATEX	= $(LATEX) $(NONSTOPMODE) \
                           '\def\languagename{'$(LANGUAGELONG)'}' \
			   $(PDFOUTPUT)
INDEXPOSTOP     = $(DOCDIR)/bin/genindex.pl
GENHTMLINDEX    = $(DOCDIR)/bin/genhtmlidx.pl
#BIBTEX		= bibtex8
#BIBTEXNOERROR	= 1 # BibTeX8 returns 1 after warnings
BIBTEX		= bibtex
BIBTEXNOERROR   = 0 # BibTeX returns 0 on ok
BIBTEXFIX       = sed -i -e 's/\\btxurlfont[[:space:]]*$$/\\expandafter&/'

MPOST		= mpost -tex=latex -interaction=batchmode
MPTOPDF         = mptopdf

EPSTOPDF        = epstopdf

export TEXINPUTS BIBINPUTS BSTINPUTS