summaryrefslogtreecommitdiff
path: root/Build/source/texk/tetex/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/tetex/Makefile.in')
-rw-r--r--Build/source/texk/tetex/Makefile.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/Build/source/texk/tetex/Makefile.in b/Build/source/texk/tetex/Makefile.in
index f80a8caa6dc..4bf6d5d4c12 100644
--- a/Build/source/texk/tetex/Makefile.in
+++ b/Build/source/texk/tetex/Makefile.in
@@ -94,13 +94,12 @@ install-exec:
#
# This target is invoked by the top-level make,
# to create the per-format engine symlinks in $(bindir),
-# after everything else is installed.
-# We have to create the ls-R file for kpsewhich (invoked by texlinks)
-# to find fmtutil.cnf.
-run_mktexlsr = $(bindir)/mktexlsr $(texmf)
-run_texlinks = $(bindir)/texlinks
+# after everything else is installed. We explicitly specify the
+# fmtutil.cnf file to use for the sake of distro builds. Also, that way
+# we don't have to run mktexlsr also.
+run_texlinks = $(bindir)/texlinks -f $(web2cdir)/fmtutil.cnf
run-texlinks:
- PATH=$(bindir):$(PATH); export PATH; $(run_mktexlsr); $(run_texlinks)
+ PATH=$(bindir):$(PATH); export PATH; $(run_texlinks)
kpse_include ../make/clean.mk