diff options
Diffstat (limited to 'Build/source/texk/tetex/Makefile.in')
-rw-r--r-- | Build/source/texk/tetex/Makefile.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/texk/tetex/Makefile.in b/Build/source/texk/tetex/Makefile.in index ed2812e946a..179beb6c4a3 100644 --- a/Build/source/texk/tetex/Makefile.in +++ b/Build/source/texk/tetex/Makefile.in @@ -82,6 +82,7 @@ install-data:: $(INSTALL_DATA) $(srcdir)/texmf/texconfig/generic $(texmf)/texconfig $(INSTALL_SCRIPT) $(srcdir)/tcfmgr $(texmf)/texconfig/tcfmgr $(INSTALL_DATA) $(srcdir)/tcfmgr.map $(texmf)/texconfig/tcfmgr.map + $(INSTALL_DATA) $(srcdir)/fmtutil.cnf $(texmf)/web2c/fmtutil.cnf install-exec: -$(SHELL) $(srcdir)/../mkinstalldirs $(scriptdir) @@ -98,6 +99,17 @@ install-exec: ln -s mktexlsr texhash cd $(scriptdir) && rm -f mktexfmt; ln -s fmtutil mktexfmt +# +# 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 = (cd $(texmf)/web2c && $(bindir)/mktexlsr --quiet .) +run_texlinks = $(bindir)/texlinks +run-texlinks: + PATH=$(bindir):$(PATH); $(run_mktexlsr); $(run_texlinks) + kpse_include ../make/clean.mk config.status: $(srcdir)/configure |