summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-12 23:26:02 +0000
committerKarl Berry <karl@freefriends.org>2013-07-12 23:26:02 +0000
commit50834d5bc5540f43c363b17c18a9809b5a827a47 (patch)
treed15996fcb49041557c50bf78b1a2dfd21c47e5a9 /Master/tlpkg
parent944cd493cc09852c6d84e0519760c97750efb2aa (diff)
luatexja 20130711.0 (12jul13)
git-svn-id: svn://tug.org/texlive/trunk@31183 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-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");
}