Re: (not) running fmtutil while building package?
[email protected] (Frank Küster)
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
Jan Nieuwenhuizen <[email protected]> schrieb: > make install now wants to run > > TEXMFMAIN=$(texmf) fmtutil --all > > but that fails when building a package. When building a package, you > can't use texmf=/usr/share/texmf, so I use something like > texmf=/netrel/tetex-xyz/usr/share/texmf. > > An option would be not to run fmtutil at install time, but rather at > postinstall of the binary package, but I do not see what @FMU@ should > be substituted with > > @FMU@ > @FMU@install-extra: > > in this Makefile.in snippet to achieve that. I think it should be substituted by nothing - then the mktexlsr/fmtutil/texlinks calls go into a separate target that is not executed. However, ./configure is missing a proper option for this. There's only # initialize texmf tree with fmtutil only for teTeX and TeX Live if test ! -d $srcdir/texk/tetex || test -n "$xdvik_standalone"; then FMU= else FMU='# ' fi But $xdvik_standalone cannot be used (I think), because it has other implications. I don't grok the whole build system; there are options in reautoconf that sound somewhat like what we want: -e 's@--enable-fmtutil.*use fmtutil for build dumps@--disable-fmtutil do not use fmtutil for build dumps@' \ -e 's@--with-mktexfmt-default.*run mktexfmt if format file missing@--without-mktexfmt-default do not run mktexfmt if format file mmissing@' \ But I don't even know what reautoconf is for... Probably we just need a new configure switch and an other OR'ed test for setting of the FMU variable. Regards, Frank -- Frank Küster, Biozentrum der Univ. Basel Abt. Biophysikalische Chemie