From 52342328d697c341a49231053d155a030eb05b56 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 30 Dec 2014 17:32:37 +0000 Subject: tudscr rearrangement git-svn-id: svn://tug.org/texlive/trunk@35930 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/libexec/ctan2tds | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index baed6e999d8..4f3b139fa0a 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1156,7 +1156,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'suftesi' => '&PREHOOK_suftesi', 'texdraw' => '&PREHOOK_texdraw', 'texfot' => '&PREHOOK_texfot', - 'tudscr' => '&PREHOOK_flatten1', + 'tudscr' => '&PREHOOK_tudscr', 'tui' => '&PREHOOK_tui', 'utf8mex' => '&PREHOOK_flatten1', 'vhistory' => '&PREHOOK_vhistory', @@ -1238,6 +1238,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'tex-ps', => '&POSTtex_ps', 'tikz-cd', => '&POSTtikz_cd', 'tipa-de' => '&POST_rmsymlink', + 'tudscr' => '&POSTtudscr', 'xecyr' => '&POSTxecyr', 'xetex-pstricks' => '&POSTxetexpstricks', 'xymtex' => '&POSTxymtex', @@ -4981,6 +4982,11 @@ sub PREHOOK_texfot { &SYSTEM ("$RM $package.pdf"); } +sub PREHOOK_tudscr { + print "PREHOOK_$package - cd\n"; + &xchdir ("source"); +} + sub PREHOOK_tui { print "PREHOOK_$package - flatten only some subdirs\n"; &SYSTEM ("$MV doc/* tex/* ."); @@ -5820,6 +5826,14 @@ sub POSTtikz_cd { &mv_with_mkdir ("latex/tikz-cd/tikzlibrary*tex", "generic/tikz-cd/"); } +sub POSTtudscr { + print "POST$package - subdirs\n"; + &xchdir (".."); # cd back from the prehook + &SYSTEM ("$MV source/* $DEST/source/latex/$package"); + &SYSTEM ("$MV logo $DEST/tex/latex/$package/"); + &SYSTEM ("$MV doc/* ."); +} + sub POSTxecyr { print "POST$package - handling bat, moving language.dat.add from runtime\n"; &SYSTEM ("$MV $DEST/tex/generic/xecyr/language.dat.add" -- cgit v1.2.3