summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-03 17:54:28 +0000
committerKarl Berry <karl@freefriends.org>2014-02-03 17:54:28 +0000
commitcb505c213965d3779b4ec7d9281c011fec5fb0fd (patch)
tree949d321ac8edafa281e3d56cf34d14e0ade1643d /Master/tlpkg/libexec
parent9c990b20d0bfa87768186c40adc05158b6ce30d0 (diff)
knuth-local from actual dek sources; just font stuff for now, replacing what was in misc/
git-svn-id: svn://tug.org/texlive/trunk@32856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 78e578e391b..55816f4fb68 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1112,6 +1112,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'fontools' => '&PREHOOK_fontools',
'ibygrk' => '&PREHOOK_ibygrk',
'isodoc' => '&PREHOOK_flatten1',
+ 'knuth-local' => '&PREHOOK_knuth_local',
'ktv-texdata' => '&PREHOOK_ktv_texdata',
'latex-git-log' => '&PREHOOK_latex_git_log',
'latexdiff' => '&PREHOOK_latexdiff',
@@ -2291,6 +2292,9 @@ $standardmf='[0-9]\.mf';
'hands', 'hands\.mf',
'ibygrk', 'NULL',
'ifsym', '\.mf|\.gen',
+ # no point in making tfm without pk for (black|gray|slant), is there?
+ # doesn't seem worth it.
+ 'knuth-local', '(domino|mfman|random|snfont)\.mf',
'logic', 'milstd\.mf',
'mfpic', 'grafbase\.mf',
'morse', 'morse10.mf|morse.def',
@@ -4784,6 +4788,19 @@ sub PREHOOK_ibygrk {
&SYSTEM ("$RM tex/generic/ibycus4/ibycus4.map");
}
+sub PREHOOK_knuth_local {
+ print "PREHOOK_$package - extract some local/lib/*.mf\n";
+ &SYSTEM ("$RM -rf [^l]*"); # remove everything but lib
+
+ my $mft_dir = "$DEST/mft/knuth-local";
+ &SYSTEM ("$MV lib/*.mf ."); # keep lib/*.mf files
+ &mv_with_mkdir ("lib/e.mft", $mft_dir); # install e.mft
+
+ &SYSTEM ("$RM -rf lib"); # remove rest of lib
+ &SYSTEM ("$RM -f lcirc* line*"); # dek does not maintain latex fonts
+ &SYSTEM ("$RM -f amsmodes.mf"); # or ams files
+}
+
sub PREHOOK_ktv_texdata {
print "PREHOOK_$package - eliminate redundant latex dir\n";
&SYSTEM ("$RM -rf latex");