summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/ctan2tds')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds24
1 files changed, 22 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index a50348ea7fb..7e3628c5d29 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -434,6 +434,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'ibygrk' => '&POSTibygrk',
'impatient' => '&POSTimpatient',
'interactiveworkbook' => '&POSTinteractiveworkbook',
+ 'knuth' => '&POSTknuth',
'koma-script' => '&POSTkoma',
'libertine' => '&POSTlibertine',
'pgf' => '&POSTpgf',
@@ -522,6 +523,7 @@ $standardfoundry='public';
'es-tex-faq', 'texmf-doc',
'free-math-font-survey', 'texmf-doc',
'hyphenex', 'texmf-dist',
+ 'knuth', 'texmf-doc',
'l2picfaq', 'texmf-doc',
'l2tabu-english', 'texmf-doc',
'lshort-bulgarian', 'texmf-doc',
@@ -3218,15 +3220,32 @@ sub POSTinteractiveworkbook
&SYSTEM ("rmdir interactiveworkbook.sty");
}
+sub POSTknuth
+{
+ print "POST$package - rearranging for texmf-doc\n";
+ &xchdir ("$DEST/doc");
+ &xmkdir ("english");
+ &SYSTEM ("$MV knuth english");
+ &SYSTEM ("$MV ../source/knuth english/knuth/source");
+ &xchdir ("english/knuth");
+ #
+ # remove nonfree.
+ &SYSTEM ("$RM tex/texbook.tex mf/mfbook.tex");
+ #
+ # remove sources that are in build tree.
+ &xchdir ("source");
+ &SYSTEM ("rm -rf etc mf mfware tex/tex.web tex/trip* texware web/*.web");
+}
+
sub POSTkoma
{
- print "POSTkoma - removing symlinks\n";
+ print "POST$package - removing symlinks\n";
&SYSTEM ("find $DEST -type l | xargs --no-run-if-empty rm");
}
sub POSTlatex2html
{
- print "POSTlatex2html - moving $package.perl to doc\n";
+ print "POST$package - moving $package.perl to doc\n";
my $dest = "$DEST/doc/latex/$package";
&SYSTEM ("mkdir -p $dest");
&SYSTEM ("$MV $DEST/scripts/latex2html/styles/$package.perl $dest");
@@ -3234,6 +3253,7 @@ sub POSTlatex2html
sub POSTlibertine
{
+ print "POST$package - remove duplicates, nosource docs";
# has to be a post routine instead of moreclean because we have to
# remove a file in a non-doc directory.
#