summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index bb6691788b4..b4f7e509d18 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1663,6 +1663,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
'biblatex-software' => '&POST_rmsymlink',
'bibtex' => '&POSTbibtex',
'bibtexperllibs' => '&POSTbibtexperllibs',
+ 'blopentype' => '&POST_onelevel',
'cfr-lm' => '&POSTcfr_lm',
'citation-style-language' => '&POST_do_man',
'cjk-gs-integrate' => '&POSTcjk_gs_integrate',
@@ -7524,14 +7525,15 @@ sub POSTzhmetrics {
#
sub POST_onelevel {
print "POST_onelevel ($package) - handle doc/source/tex directories\n";
- for my $dir ("source", "tex") {
+ for my $dir ("source", "tex", "luatex") {
next unless -d $dir;
# theoretically we should use $whichformat, $sourceformat,
# but in practice they are always the same.
- &rename_with_mkdir ($dir, "$DEST/$dir/$whichdocformat/$package");
+ $destdir = $dir eq "luatex" ? "tex" : $dir;
+ &rename_with_mkdir ($dir, "$DEST/$destdir/$whichdocformat/$package");
}
# move files in doc/ up to cwd. If there are clashes, will error out.
- &xsystem ("$MV doc/* .");
+ &xsystem ("$MV doc/* .") if -d "doc";
}
sub POST_otherformat {