summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-12-06 21:14:04 +0000
committerKarl Berry <karl@freefriends.org>2023-12-06 21:14:04 +0000
commit4e1d4811887f7e290bf961a00da6c4b2b9507eac (patch)
treec7ecac9200ecdba3da2862571de6bd9b57387182 /Master/tlpkg/libexec/ctan2tds
parent62a2bdd5eb64d7adaa6a8a646e280349ef3713b4 (diff)
tutodoc (6dec23)
git-svn-id: svn://tug.org/texlive/trunk@69049 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 7dec486a661..fb7c1ac2871 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1874,6 +1874,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
'tlc3-examples' => '&POSTtlc3_examples',
'trivialpursuit' => '&POST_onelevel',
'tudscr' => '&POSTtudscr',
+ 'tutodoc' => '&POST_onelevel',
'unicode-alphabets' => '&POST_onelevel',
'unimath-plain-xetex' => '&POSTunimath_plain_xetex',
'updatemarks' => '&POST_onelevel',
@@ -7832,14 +7833,14 @@ sub POSTzhmetrics {
#
sub POST_onelevel {
print "POST_onelevel ($package) - handle doc/source/tex directories\n";
- for my $dir (qw(latex lualatex luatex metapost opentype
+ for my $dir (qw(code latex lualatex luatex metapost opentype
scripts source tex)) {
next unless -d $dir;
- # theoretically we should use $whichformat, $sourceformat,
+ # theoretically we should use $whichformat, $sourceformat, etc.,
# but in practice they are always the same.
my $format = $whichdocformat;
my $destdir = $dir;
- if ($dir =~ /(lua)?(la)?tex/) { # tex/$format/$package
+ if ($dir =~ /(lua)?(la)?tex|code/) { # tex/$format/$package
$destdir = "tex";
} elsif ($dir =~ /metapost|scripts/) { # {metapost,scripts}/$package
$format = "";