summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds25
1 files changed, 25 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 752a1946f47..7a90c80f2ea 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1160,6 +1160,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'knuth' => '&POSTknuth',
'koma-script' => '&POST_rmsymlink',
'latex2e-help-texinfo' => '&POSTlatex2ehelptexinfo',
+ 'lhcyr' => '&POSTlhcyr',
'lilyglyphs' => '&POSTlilyglyphs',
'listbib' => '&POSTlistbib',
'lithuanian' => '&POSTlithuanian',
@@ -1435,6 +1436,7 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$';
'lettre', '\.ins|\.cls',
'levy', 'greekmacros.tex|' . $standardtex,
'lgrx', '\.dfu$|' . $standardtex,
+ 'lhcyr', 'lhcyr.*',
'librarian', '(t-)?librarian.(tex|sty)',
'listbib', 'listbib.tex|' . $standardtex,
'listings-ext','\.sty', # not .cfg
@@ -1995,6 +1997,7 @@ $standardsource='\.(bat|c|drv|dtx|fea|fdd|ins|sfd)$|configure.*|install-sh';
'latex2e-help-texinfo','NULL', # doc package
'latex2man', 'NULL', # leave Makefile
'latexdiff', 'NULL', # leave Makefile
+ 'lhcyr', 'README', # historical
'lua-alt-getopt', 'NULL',
'lua2dox', 'NULL', # process lua2dox_filter.bat
'mdframed', 'Makefile|' . $standardsource,
@@ -5369,6 +5372,28 @@ sub POSTlatex2ehelptexinfo {
&SYSTEM ("$RM -rf spanish");
}
+sub POSTlhcyr {
+ print "\t POST$package - move to source, avoid dups\n";
+ &xchdir ("$DEST/tex/latex/$package");
+ # Sebastian moved tex files to the top level, removed from other dirs.
+ # We just follow what he did, years ago.
+ for my $tex (qw(karabas kniga otchet pismo rusfonts statya)) {
+ &SYSTEM ("$MV lhcyralt/$tex.tex .");
+ &SYSTEM ("$RM */$tex.tex");
+ }
+ #
+ for my $hyph (glob ("*/{hyphen.cfg,rhyphen.tex}")) {
+ my ($hdir) = $hyph =~ m,^(.*)/,;
+ (my $hdest = $hyph) =~ s,/(.*)$,/$hdir-$1,;
+ &SYSTEM ("$MV $hyph $hdest");
+ }
+ #
+ # mfj's to source dir, ignoring that there are multiple versions.
+ for my $dir (glob ("lhcyr{alt,win}")) {
+ &SYSTEM ("$MV $dir/*.mfj $DEST/source/latex/$package/");
+ }
+}
+
sub POSTlilyglyphs {
print "\t POST$package - move directories around\n";
&rename_with_mkdir ("fonts", "$DEST/fonts/opentype/public/$package");