diff options
author | Karl Berry <karl@freefriends.org> | 2009-03-23 01:03:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-03-23 01:03:54 +0000 |
commit | 0d7813a806f9173dbe362878550169f0cad356aa (patch) | |
tree | 026ef4b5b337e6b720b9b7e04418e7f2be4c6cc6 /Master/tlpkg/libexec | |
parent | af7d5f20724c4c7556806a2aa71f169789c599af (diff) |
new (old) script purifyeps
git-svn-id: svn://tug.org/texlive/trunk@12489 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-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; |