summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-11 20:46:52 +0000
committerKarl Berry <karl@freefriends.org>2023-10-11 20:46:52 +0000
commitf52476c6ec7e3d1a646e83baf4b64a9999c5ecd1 (patch)
tree90b962392e9c6bb7fb2d4ffde2440c0690b9f7a3 /Master/tlpkg/libexec
parent9a9196eacd240c7126b5660aaf6d11c4ce30b111 (diff)
memoize (11oct23)
git-svn-id: svn://tug.org/texlive/trunk@68515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 91b184860a6..8754cf14e05 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1773,6 +1773,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
'm-tx' => '&POSTmtx',
'match_parens' => '&POST_do_man',
'mathdesign' => '&POSTmathdesign',
+ 'memoize' => '&POST_do_man',
'mflogo' => '&POST_rmsymlink',
'mitthesis' => '&POSTmitthesis',
'moderncv' => '&POST_deref_symlink',
@@ -3733,6 +3734,7 @@ $standardttf = '\.ttf|\.TTC';
'makedtx' => '^makedtx\.pl$',
'match_parens' => '^match_parens$',
'mathspic' => '^mathspic\.pl$',
+ 'memoize' => '\.p[ly]$',
'multibibliography' => '\.pl$',
'mf2pt1' => '\.pl$',
'mkgrkindex' => 'mkgrkindex$',
@@ -4662,9 +4664,19 @@ sub doscripts {
#
my $build_tldir = "texk/texlive";
chomp (my @platforms = `cd $Master/bin && ls | grep -vw man`);
+ print " linking in platforms: @platforms\n";
#
for my $s (@scripts) {
(my $linkname = $s) =~ s/\..*$//;
+ print " beginning linking script $s to $linkname\n";
+
+ if ($package =~ /^(memoize|listings-ext)$/) {
+ # memoize requires preserving the .pl/.py extensions,
+ # ditto listings-ext.sh.
+ $linkname = $s;
+ print " package $package special case: linking to $linkname\n";
+ }
+
for my $p (@platforms) {
my $platdir = "$TOPDEST/bin/$p";
&xmkdir ($platdir);