diff options
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index a38a7b2b1dd..ea20e7532b3 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1037,6 +1037,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'plnfss', 'plain', 'psfrag-italian', 'italian', 'pst-cox', 'generic', + 'purifyeps', 'support', 'pxfonts', 'fonts', 'rsfs', 'fonts', 'shapepar', 'generic', @@ -1411,16 +1412,16 @@ $standardxmt='\.xmt'; 'perltex' => '\.pl$', 'pkfix' => '\.pl$', 'pst2pdf' => '\.pl$', + 'purifyeps' => 'purifyeps$', 'texcount' => '\.pl$', 'texloganalyser' => 'texloganalyser', 'vpe' => '\.pl$', ); -# too painful to install in multiple trees just now. -## packages which have man pages to install. Assume section 1 for now. -#%specialmans = ( -# 'mkjobtexmf' => 'mkjobtexmf.man', -#); +# packages which have man pages to install. Assume section 1 for now. +%specialmans = ( + 'purifyeps' => 'purifyeps.1', +); # which suffixes to remove after building. Checked after runins and at @@ -1444,6 +1445,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot' 'lshort-spanish'=>'lshort-a5book.pdf', # a4 is enough 'mathexam' => 'sample.tex~', 'notes2bib' => "$standardclean|jawltxdoc.sty", # temp file for doc + 'purifyeps' => 'purifyeps.pdf', 'rsc' => $standardclean . '|jawltxdoc.sty', # temp file for doc 'wsuipa' => $standardclean . '|.*pk$', # premade pk files ); @@ -1745,6 +1747,7 @@ sub donormal &dosource; &dotype1; &doscripts; + &domans; # remove empty directories that we never used. &SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null"); @@ -1905,10 +1908,11 @@ sub dotype1{ &install("$DEST/fonts/truetype/public/$package", $ttfpatt); } -# scripts. Build/source/tex/texlive/Makefile.in installs symlinks -# in the bin directories where appropriate. Just for simplicitly, let's -# try keeping DEST as texmf when symlinks get installed; otherwise -# (if it gets called as a subprogram) texmf-dist is ok. +# scripts. Make them executable even if it isn't always necessary. +# Build/source/tex/texlive/Makefile.in installs symlinks in the bin +# directories where needed. That Makefile.in is independently +# maintained, needs to updated by hand when new user-visible scripts are +# added. # sub doscripts { @@ -1918,6 +1922,17 @@ sub doscripts &SYSTEM ("chmod a+x $DEST/scripts/$package/*"); } +# man pages. We also put these in texmf/doc/man/man1. +# Having a man dir in texmf-dist also would imply lots of changes in the +# installer. +# +sub domans +{ + my $manpatt = $specialmans{$package}; + return unless $manpatt; + &install ("$TOPDEST/texmf/doc/man/man1/", $manpatt); +} + # xmltex files sub doxmt{ my $xmtpatt = $specialxmt{$package} || $standardxmt; |