summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 83baf64ac8e..075ec064467 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -4031,6 +4031,12 @@ sub MAKEjapaneseotf {
}
if (-d "sty") {
&xmkdir ("$DEST/tex/platex/$package");
+ # if we are building "japanese-otf" package, remove these two
+ # style files, as they are overriden by the files in
+ # "japanese-otf-uptex"
+ if ($package eq "japanese-otf") {
+ &SYSTEM("$RM sty/mlutf.sty sty/otf.sty");
+ }
&SYSTEM("$MV sty/* $DEST/tex/platex/$package/; rmdir sty");
}
if (-d "TeXLive-maps") {