summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds42
1 files changed, 23 insertions, 19 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index e43b2f9895b..39a33c0cd51 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1078,7 +1078,6 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'xtcapts', "die 'skipping, noinfo license'",
'xtheorem', "die 'skipping, will be in xpackages when ready (Morten says)'",
'xwatermark', "&MAKEflatten",
- 'xymtex', "&MAKExymtex",
'xypic', "&MAKExypic",
'yi4latex', "die 'skipping, nosell license'",
'yplan', "&MAKEnosymlinks",
@@ -1191,7 +1190,8 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'tipa-de' => '&POST_rmsymlink',
'xecyr' => '&POSTxecyr',
'xetex-pstricks' => '&POSTxetexpstricks',
- 'xindy-persian' => '&POSTxindy',
+#'xindy-persian' => '&POST_xindy',
+ 'xymtex' => '&POSTxymtex',
'zhspacing' => '&POSTzhspacing',
'zhmetrics' => '&POSTzhmetrics',
);
@@ -2056,6 +2056,7 @@ $standardsource='\.(bat|c|drv|dtx|fea|fdd|ins|sfd)$|configure.*|install-sh';
'thesis', 'install.01|install.ndx',
'translation-filecontents-de', 'NULL', # doc
'turnstile', 'turnstile-en.ins', # skip pt since it changes the sty
+ 'xymtex', 'NULL', # already built, too complicated
);
$standardins = '\.ins$';
@@ -2586,7 +2587,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot'
'jknapltx' => 'ubbold.fd', # clash bbold's Ubbold.fd; sauter bbold fails
'numericplots' => '.*\.m', # matlab
'oinuit' => 'cmssbxo10.tfm', # should not be here
- 'oscola' => '\*.pdf', # no source
+ 'oscola' => '\.pdf$', # no source
'parnotes' => 'PNmanual.pdf', # no source
'piechartmp' => 'piechartmp.pdf', # no source
'ptptex' => '(overcite|cite|wrapfig).sty', # duplicated
@@ -2598,6 +2599,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot'
'toptesi' => 'logo.*', # legalities unknown
'tree-dvips' => 'avm.*', # author no response
'xskak' => 'xskak.pdf', # no source
+ 'xymtex' => 'doc/.*\.pdf$', # no source
'yannisgr' => '^(digits|gen_acc)\.mf' # levy dup
);
@@ -3405,10 +3407,10 @@ sub killfiles {
# cd to a leading directory name in KILLPATT.
my $origdir = "";
- if ($killpatt =~ m,^(.*)/,,) {
+ if ($killpatt =~ m,^(.*/),,) {
$origdir = getcwd ();
&xchdir ($1);
- $killpatt =~ s,^$1/,,;
+ $killpatt =~ s,^$1,,;
}
local *DOT;
@@ -3758,15 +3760,6 @@ sub MAKExkeyval {
&SYSTEM ("mkdir -p $generic; mv *.tex $generic");
}
-sub MAKExymtex {
- &setup;
- chdir("$DEST/doc/latex/$package");
- &SYSTEM("$MV doc200/* .");
- &SYSTEM("rmdir doc");
- &buildfilelist;
- &donormal;
-}
-
sub MAKEnewsletr {
&setup;
chdir("$DEST/doc/$whichdocformat/$package");
@@ -5623,12 +5616,23 @@ sub POSTxetexpstricks {
&SYSTEM ("$MV xelatex xetex tex");
}
-sub POSTxindy {
- # does not work since there is also the rest of the xindy ...
- print "POST$package - move to xindy module directory\n";
-#warn "" . `ls && pwd`;
+# does not work since there is also the rest of the xindy package ...
+#sub POST_xindy {
+# print "POST$package - move to xindy module directory\n";
# &xchdir ("$DEST/$whichformat/$package");
- &mv_with_mkdir ("*", "$DEST/xindy/modules/lang/persian/");
+# &mv_with_mkdir ("*", "$DEST/xindy/modules/lang/persian/");
+#}
+
+sub POSTxymtex {
+ print "POST$package - rm .BAK old-doc, move subdirectories\n";
+ &SYSTEM ("rm -rf old-doc");
+ &SYSTEM ("find . -name '*.BAK' | xargs rm");
+ my $rundir = "$DEST/tex/latex/$package";
+ my $srcdir = "$DEST/source/latex/$package";
+ for my $dir (qw(base chemist xymtxpdf xymtxps)) {
+ &mv_with_mkdir ("$dir/*.sty", "$rundir/$dir");
+ &mv_with_mkdir ($dir, $srcdir);
+ }
}
sub POSTzhmetrics {