texlive[43485] Master/texmf-dist/scripts/texlive/fmtutil.pl: support
commits+preining at tug.org
commits+preining at tug.org
Mon Mar 13 01:51:17 CET 2017
Revision: 43485
http://tug.org/svn/texlive?view=revision&revision=43485
Author: preining
Date: 2017-03-13 01:51:17 +0100 (Mon, 13 Mar 2017)
Log Message:
-----------
support engines named foobar-dev in fmtutil (map to enginedir=foobar)
Modified Paths:
--------------
trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl
Modified: trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl 2017-03-12 21:58:08 UTC (rev 43484)
+++ trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl 2017-03-13 00:51:17 UTC (rev 43485)
@@ -3,7 +3,7 @@
# fmtutil - utility to maintain format files.
# (Maintained in TeX Live:Master/texmf-dist/scripts/texlive.)
#
-# Copyright 2014-2016 Norbert Preining
+# Copyright 2014-2017 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
@@ -556,6 +556,8 @@
$fmtfile .= ".fmt" ;
$kpsefmt = "tex" ;
$enginedir = $eng;
+ # strip final -dev from enginedir to support engines like luatex-dev
+ $enginedir =~ s/-dev$//;
}
# check for existence of ini file before doing anything else
@@ -1409,6 +1411,11 @@
Other locations may be used if you give them on the command line, or
these trees don't exist, or you are not using the original TeX Live.
+Supporting development engines
+
+ In case the engine names ends with "-dev", formats are created in
+ the respective directory without the -dev ending.
+
Report bugs to: tex-live\@tug.org
TeX Live home page: <http://tug.org/texlive/>
EOF
More information about the tex-live-commits
mailing list