summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 04798e72c5a..1d6684ff3f6 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -251,6 +251,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'computer-typesetting-using-latex', "die 'skipping, nosource'",
'concmath-fonts', "&MAKEflatten",
'concmath', "&MAKEnosymlinks",
+ 'concrete', "&MAKEflatten",
'conferences', "die 'skipping, container directory'",
'context-algorithmic', "&MAKEcopy",
'context-account', "&MAKEcopy",
@@ -1093,6 +1094,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'cals' => '&PREHOOK_cals',
'chess' => '&PREHOOK_chess',
'cm-super' => '&PREHOOK_cm_super',
+ 'concrete' => '&PREHOOK_concrete',
'download' => '&PREHOOK_savepdf',
'dynblocks' => '&PREHOOK_flatten1',
'fixme' => '&PREHOOK_fixme',
@@ -4649,6 +4651,18 @@ sub PREHOOK_cm_super {
&SYSTEM ("$RM -rf dvipdfm");
}
+sub PREHOOK_concrete {
+ print "PREHOOK_$package - instantiate symlinks from symlink\n";
+ # would be better done in tlpkginfo --prepare.
+ &xchdir ("mf");
+ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
+ for my $mf (glob ("*.mf")) {
+ &SYSTEM ("$CP $ctan_root/systems/knuth/local/cm/$mf ..");
+ }
+ &xchdir ("..");
+ # symlinks will get removed afterward by MAKEflatten.
+}
+
sub PREHOOK_fixme {
print "PREHOOK_$package - create dtx subdirs\n";
&xmkdir ("themes", "layouts", "layouts/env", "layouts/target");