From b5145d5c54cd0ecc28930d4604d6010181def345 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 23 Dec 2008 01:48:00 +0000 Subject: jadetex 3.13 (2003) git-svn-id: svn://tug.org/texlive/trunk@11696 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/ctan2tds | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'Master/tlpkg/bin') diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index 3bd969533be..f6065bffe40 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -791,7 +791,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'iso10303', 'a.*tex|b.*tex|e.*tex|stp.*tex|\.sty|\.4ht', 'isodate', '\.idf|\.sty', 'isodoc', 'iso.*\.sty', # not mystyle.sty, etc. - 'jadetex', '\.ltx|\.def|\.tex|\.ini|\.sty', + 'jadetex', '\.ltx|\.def|\.tex|\.ini|\.sty|\.fd', 'karnaugh', 'kvmacros.tex', 'kastrup', 'binhex.tex|' . $standardtex, 'keystroke', 'keystroke_.*|\.sty', @@ -1371,6 +1371,8 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot' 'elvish' => '\.pk3', # no pk files 'gentle' => 'gentle.ps.gz', # pdf is enough 'hyph-utf8' => 'README', + 'jadetex' => $standardclean # these sty files are in passivetex + . '|(dummyels|mlnames|ucharacters|unicode)\.sty', 'latex2e-help-texinfo' => '\.info', # must move .info by hand, sigh 'lshort-spanish'=>'lshort-a5book.pdf', # a4 is enough 'mathexam' => 'sample.tex~', @@ -2942,13 +2944,30 @@ sub MAKEukrhyph { &runjob("rm $DEST/tex/generic/ukrhyph/*.ps"); } +# The jadetex distribution is a mess. Last updated in 2003, so no point in +# trying to push changes upstream that I can see, though. sub MAKEjadetex { - #die "sorry, jadetex not ready"; + # Unpack the tarball. &SYSTEM ("cd $packagedir && tar xf jadetex*.tar.gz && mv jadetex-*/* ."); - print `ls -R`; &SYSTEM ("cd $packagedir && (rm -rf jadetex-3* doc/.cvsignore)"); + + # Get rid of the useless doc/ dir. &MAKEflatten (); + + # Rename resulting jadetex/jadetex dirs to jadetex/base. + &xchdir ($DEST); + for my $dir ("doc", "source", "tex") { + &SYSTEM ("$MV $dir/jadetex/jadetex $dir/jadetex/base"); + } + + # This didn't get flattened since there's a name clash. + &SYSTEM ("$MV doc/jadetex/base/doc/Makefile doc/jadetex/base"); + + # Their pdfjadetex.ini predates pdftexconfig.tex. + my $pdfini = "tex/jadetex/base/pdfjadetex.ini"; + &SYSTEM ("(echo '\\input pdftexconfig.tex'; cat $pdfini) >/tmp/pj$$; + mv /tmp/pj$$ $pdfini"); } sub MAKElfb -- cgit v1.2.3