summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/Makefile.baseinit
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/Makefile.baseinit')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/Makefile.baseinit16
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/Makefile.baseinit b/Master/texmf-dist/source/latex/koma-script/Makefile.baseinit
index cf0f16fc930..28516f17c62 100644
--- a/Master/texmf-dist/source/latex/koma-script/Makefile.baseinit
+++ b/Master/texmf-dist/source/latex/koma-script/Makefile.baseinit
@@ -1,6 +1,6 @@
# ======================================================================
# Makefile.baseinit
-# Copyright (c) Markus Kohm, 2002-2009
+# Copyright (c) Markus Kohm, 2002-2010
#
# This file is part of the LaTeX2e KOMA-Script bundle.
#
@@ -18,7 +18,7 @@
# This work consists of all files listed in manifest.txt.
# ----------------------------------------------------------------------
# Makefile.baseinit
-# Copyright (c) Markus Kohm, 2002-2009
+# Copyright (c) Markus Kohm, 2002-2010
#
# Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
# Version 1.3c, verteilt und/oder veraendert werden.
@@ -69,17 +69,29 @@ KOMASCRIPTSUBDIR=/latex/koma-script
# Do a more complicate default:
ifneq ($(USER),root)
INSTALLTEXMF ?= $(shell kpsewhich -expand-var='$$HOMETEXMF')
+ifeq ($(INSTALLTEXMF),$$HOMETEXMF)
+ INSTALLTEXMF :=
+endif
ifeq ($(INSTALLTEXMF),)
INSTALLTEXMF = $(shell kpsewhich -expand-var='$$TEXMFHOME')
+ifeq ($(INSTALLTEXMF),$$TEXMFHOME)
+ INSTALLTEXMF :=
+endif
endif
endif
ifeq ($(INSTALLTEXMF),)
INSTALLTEXMF = $(shell kpsewhich -expand-var='$$TEXMFLOCAL')
+ifeq ($(INSTALLTEXMF),$$TEXMFLOCAL)
+ INSTALLTEXMF :=
+endif
endif
ifeq ($(INSTALLTEXMF),)
INSTALLTEXMF = $(shell kpsewhich -expand-var='$$TEXMFMAIN')
+ifeq ($(INSTALLTEXMF),$$TEXMFMAIN)
+ INSTALLTEXMF :=
+endif
endif
# ----------------------------------------------------------------------
# The directory, where to install *.cls, *.sty etc.