summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-30 17:32:37 +0000
committerKarl Berry <karl@freefriends.org>2014-12-30 17:32:37 +0000
commit52342328d697c341a49231053d155a030eb05b56 (patch)
tree81ad6ccd38929249a64797071f8673a8440134b3 /Master/tlpkg
parent5f7820a8be758e948dd35e429e37f1d79ac06eee (diff)
tudscr rearrangement
git-svn-id: svn://tug.org/texlive/trunk@35930 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds16
1 files changed, 15 insertions, 1 deletions
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"