[tex-live] [TL 2008] Packaging TeXLive: Not running fmtutil, updmap, texlinks, mktexlsr upon make install

Frank Küster frank at kuesterei.ch
Mon Mar 5 09:54:00 CET 2007


when creating deb or rpm packages of texlive, it does not make sense to
run fmtutil-sys, updmap-sys and mktexlsr upon "make install", because
the installation will be done into some temporary directory.

Instead, the utilities need to be invoked when the thus created package
is installed on an individual system.

I have written a patch that implements a "--without-install-extra" patch
to configure that allows that.  It hooks into this line in

# initialize texmf tree with fmtutil only for teTeX and TeX Live
if test ! -d $srcdir/texk/tetex || test -n "$xdvik_standalone" || test "x$cross_compiling" = xyes; then

and sets FMU to nothing.  Thus, install-extra becomes a separate
target in the toplevel Makefile (normally the line is commented, and the
commands are just some more commands under the "install" target).

There's one thing about the attached patch which I do not understand. In
texk/web2c/Makefile.in, the definition of FMU seems to be reversed.
Here, some links need to be created even in the case of
--without-install-extra, but with my patch @FMU@ becomes '#' and they
are not.  I have worked around this with the following hunk, but I'd
rather understand why this happens:

Index: texlive-bin-2007/build/source/texk/web2c/Makefile.in
--- texlive-bin-2007.orig/build/source/texk/web2c/Makefile.in	2007-02-19 18:09:08.000000000 +0100
+++ texlive-bin-2007/build/source/texk/web2c/Makefile.in	2007-02-19 18:09:11.000000000 +0100
@@ -782,7 +782,7 @@
 install: install-exec install-data
-install-exec:: install-programs @FMU@ install-links
+install-exec:: install-programs install-links
 install-data:: install-tex-data install-mf-data install-mpost-data
 install-dumps: install-tex-dumps install-mf-dumps install-mpost-dumps

Attached is the complete patch, it can also be viewed at 


What about including it in TeXLive proper?

Regards, Frank

Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 01_tmp_configure_without_installextra
Url: http://tug.org/pipermail/tex-live/attachments/20070305/64a585ea/attachment-0001.pl 

More information about the tex-live mailing list