summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds32
1 files changed, 22 insertions, 10 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index c1b42d7cfb5..75e80434c4e 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -2108,6 +2108,7 @@ my $core_latex = "$Master/texmf-dist/tex/latex";
'listings' => 'latex', # requires interaction
'lmake' => 'latex', # requires interaction
'luaindex' => 'lualatex --shell-escape',
+ 'luatexja' => 'lualatex',
'mversion' => 'latex', # requires interaction
'mylatexformat'=> 'tex',
'nameauth' => 'latex', # requires interaction
@@ -2909,9 +2910,8 @@ sub runins {
# do not infinite loop on docstrip "output directory", e.g., fltpoint.
&runjob ("yes | sed 10q | env MKTEXTFM=0 MKTEXMF=0 MKTEXPK=0 $insrunner $_");
- # in the case of fullblck, the .dtx creates the .ins (so the .ins is
- # not in @filenames), and the .ins creates the .sty. Why hasn't
- # this come up before?
+ # in the case of fullblck (et al.?), the .dtx creates the .ins (so the
+ # .ins is not in @filenames), and the .ins creates the .sty.
if (! grep (/$package\.ins$/, @filenames) && -r "$package.ins") {
&runjob ("yes | sed 10q | $insrunner $package.ins");
}
@@ -5320,18 +5320,30 @@ sub POSTlithuanian {
}
sub POSTluatexja {
- print "\t POST$package - move directories around\n";
- # dir "src" content -> run files
- # dir "no_runtime" content -> source files
+ print "\t POST$package - runins, move directories\n";
+ &xchdir ("src");
+ {
+ local @filenames = glob ("*"); # dynamic redef for runins call.
+ &runins ($specialins{$package} || $standardins);
+ }
+ &SYSTEM ("luatex ltj-kinsoku_make.tex");
+ &SYSTEM ("$RM *.log");
+ &xchdir ("..");
+
+ # "src/.{ins,dtx}" -> source files
+ # other "src" content -> run files
# dir "tool" as a whole -> source files
- # dir "doc" content to -> doc files (one dir up!)
+ # dir "doc" content to -> doc files (one level up)
my $rundest = "$DEST/tex/luatex/$package";
my $srcdest = "$DEST/source/luatex/$package";
&xmkdir ($rundest);
&xmkdir ($srcdest);
- &SYSTEM ("$MV src/* $rundest");
- &SYSTEM ("$MV no_runtime/* $srcdest");
- &SYSTEM ("$MV tool $srcdest");
+
+ &SYSTEM ("$MV src/*.dtx src/*.ins $srcdest/");
+ &SYSTEM ("$MV src/ltj-kinsoku_make.tex $srcdest/");
+ &SYSTEM ("$MV src/* $rundest/");
+
+ &SYSTEM ("$MV tool $srcdest/");
&SYSTEM ("$MV doc/* .; rmdir doc");
}