diff options
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 9e024db4713..40445784368 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -953,7 +953,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'tex-gyre-math', "&MAKEflatten", 'tex-ps', "die 'skipping, not ready, sorry'", 'tex-refs', "die 'skipping, not ready, sorry'", - 'texdraw', "&MAKEtexdraw", + 'texdraw', "&MAKEflatten", 'texemplar', "die 'skipping, await request, 199x'", 'texlipse', "die 'skipping, plugin for Eclipse'", 'texlog-extract', "die 'skipping, Ruby, not self-locating'", @@ -1116,6 +1116,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'pictex' => '&PREHOOK_pictex', 'skb' => '&PREHOOK_flatten1', 'suftesi' => '&PREHOOK_suftesi', + 'texdraw' => '&PREHOOK_texdraw', 'tui' => '&PREHOOK_tui', 'vhistory' => '&PREHOOK_vhistory', 'wsuipa' => '&PREHOOK_wsuipa', @@ -1184,6 +1185,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'pxchfon' => '&POSTpxchfon', 'splitindex' => '&POST_do_man', 'tap', => '&POSTtap', + 'texdraw', => '&POSTtexdraw', 'tipa-de' => '&POST_rmsymlink', 'xecyr' => '&POSTxecyr', 'xetex-pstricks' => '&POSTxetexpstricks', @@ -1274,6 +1276,7 @@ $standarddest = "texmf-dist"; 'systeme', 'generic', 'tabto-generic', 'generic', 'tap', 'generic', + 'texdraw', 'generic', 'texsis', 'texsis', 'textmerg', 'generic', 'tugboat-plain', 'plain', @@ -1551,6 +1554,7 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'taylor', 'diagrams.tex', 'tex-ewd', 'dotnot.tex', 'texapi', 'texapi\.tex', + 'texdraw', 'tex$|' . $standardtex, 'texsis', '\.txs|TXS.*tex|texsis.tex', 'thesis-titlepage-fhac', 'LOGO.*|' . $standardtex, 'threeparttable', '^..[^s].*\.sty', # not miscdoc.sty @@ -1808,6 +1812,7 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'texcount', 'support', 'texdiff', 'support', 'texdirflatten', 'support', + 'texdraw', 'support', 'texloganalyser', 'support', 'texsis', 'otherformats', 'textmerg', 'generic', @@ -2478,6 +2483,7 @@ $standardxmt='\.xmt'; # packages which have info files to build and then install. %specialtexinfos = ( 'mf2pt1' => '.*\.texi', + 'texdraw' => '.*\.texi', ); # packages which have man pages to install. @@ -3226,7 +3232,7 @@ sub dotexinfos { closedir (DOT) || die "closedir(.) failed: $! in " . `pwd`; print "tl_texi_to_info for: @texi_files\n"; - &SYSTEM ("$MAKEINFO --no-split @texi_files"); + &SYSTEM ("$MAKEINFO --force --no-split @texi_files"); # install() uses the @filenames global, ugh. local @filenames = <*.info>; @@ -3994,17 +4000,6 @@ sub MAKEtamethebeast { &SYSTEM("$CP -r $packagedir/* $destdir"); } -sub MAKEtexdraw { - &setup; - chdir("$DEST/doc/$whichdocformat/$package"); - &buildfilelist; - &dotex; - &domakeindex; - &SYSTEM("mkdir -p $DEST/doc/generic/texdraw"); - &SYSTEM("$MV manual/* $DEST/doc/generic/texdraw"); - killfiles($standardclean); -} - sub MAKEexpressg { &setup; chdir("$DEST/doc/$whichdocformat/$package"); @@ -4802,6 +4797,13 @@ sub PREHOOK_suftesi { &SYSTEM ("$MV doc/* latex/* ."); } +sub PREHOOK_texdraw { + print "PREHOOK_$package - remove compactified, tar texindex source\n"; + &SYSTEM ("$RM -rf compact"); + &SYSTEM ("cd manual && tar czf txi-src.tgz *.c *.h texi2dvi texinfo.tex"); + &SYSTEM ("cd manual && $RM *.c *.h texi2dvi texinfo.tex"); +} + sub PREHOOK_tui { print "PREHOOK_$package - flatten only some subdirs\n"; &SYSTEM ("$MV doc/* tex/* ."); @@ -5567,6 +5569,14 @@ sub POSTtap { &SYSTEM ("$MV tapdoc/* ."); } +sub POSTtexdraw { + print "POST$package - rename info file\n"; + &SYSTEM ("$MV texdraw texdraw.info"); + &mv_with_mkdir ("texdraw.info", "$TOPDEST/texmf-dist/doc/info/"); + # not worth the hassle of fixing @setfilename and re-uploading, + # or forcing the output file name. +} + sub POSTxecyr { print "POST$package - handling bat, moving language.dat.add from runtime\n"; &SYSTEM ("$MV $DEST/tex/generic/xecyr/language.dat.add" |