summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-02 21:31:04 +0000
committerKarl Berry <karl@freefriends.org>2023-01-02 21:31:04 +0000
commitb9587c576db3679c338a1d395c182023ff4d711c (patch)
treed36ea573074a6c7d740f15e323b5ec7720e976bc /Master/tlpkg/libexec
parent7bde2bb3891ad0c87d05ad80fabb4258dc5b84fb (diff)
blopentype (2jan23)
git-svn-id: svn://tug.org/texlive/trunk@65441 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-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 {