From cb505c213965d3779b4ec7d9281c011fec5fb0fd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 3 Feb 2014 17:54:28 +0000 Subject: 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 --- Master/tlpkg/libexec/ctan2tds | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Master/tlpkg/libexec') 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"); -- cgit v1.2.3