summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-08 22:56:30 +0000
committerKarl Berry <karl@freefriends.org>2023-01-08 22:56:30 +0000
commite4d456bebb37720520a4f5fa790b3e629ffdd754 (patch)
tree72b962f8d2643f803bb4f934b283beeb56f53d32 /Master/tlpkg/libexec
parent2da6a527e2a8190efb953f2276c82c556959879c (diff)
tlc3-examples (5jan23)
git-svn-id: svn://tug.org/texlive/trunk@65496 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds17
1 files changed, 14 insertions, 3 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 6e7752e1a8d..0f8f0582339 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1785,6 +1785,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
'tipa-de' => '&POST_rmsymlink',
'tkz-berge' => '&POSTtkz_berge',
'tlcockpit' => '&POST_do_man',
+ 'tlc3-examples' => '&POSTtlc3_examples',
'tudscr' => '&POSTtudscr',
'unimath-plain-xetex' => '&POSTunimath_plain_xetex',
'uplatex' => '&POST_preserve_man',
@@ -4816,8 +4817,8 @@ sub runjob {
# xymtex), if KILLPATT starts with a directory path (e.g., doc/), we cd
# to that directory before globbing (and cd back at the end).
#
-# The NOTCTAN argument is used for microtype, where we have to removed
-# derived files, which don't exist on CTAN.
+# The NOTCTAN argument is used for microtype, where we have to remove
+# derived files which don't exist on CTAN.
#
# (Switching all the kill patterns to globs, so we could just use the
# glob function, seemed too ugly. And removing the file in a posthook
@@ -4875,7 +4876,7 @@ EOF
chomp (my $ctan_dir = `tlpkginfo --ctan-dir $packagedir`);
if (not $?) {
$ctan_dir =~ s!$ctan_root/!!;
- $ctan_url = " at\n\thttp://mirror.ctan.org/$ctan_dir";
+ $ctan_url = " at\n\thttps://mirror.ctan.org/$ctan_dir";
}
print <<CTAN;
You can find these files on CTAN$ctan_url.
@@ -7451,6 +7452,16 @@ sub POSTtkz_berge {
&mv_with_mkdir ("latex/*", "$DEST/tex/latex/$package");
}
+sub POSTtlc3_examples {
+ print "POST$package - just sources, not pdfs\n";
+ &SYSTEM ("$RM -r book-pdfs"); # 90mb of pdfs is too much
+ open (RTL, ">README.TEXLIVE") || warn "open(>README.TEXLIVE) failed: $!";
+ print RTL <<"EOF";
+For reasons of space, the generated pdfs have been omitted from TeX Live.
+You can get them from https://ctan.org/pkg/tlc3-examples.
+EOF
+}
+
sub POSTtudscr {
print "POST$package - subdirs\n";
&xchdir (".."); # cd back from the prehook