diff options
author | Karl Berry <karl@freefriends.org> | 2014-02-06 23:26:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-02-06 23:26:05 +0000 |
commit | 7be84a697eb5391a0974c23fc8dc82413a8c7631 (patch) | |
tree | bde01acffaa9d0c79476cc85d8d54575de0d357f /Master/tlpkg/libexec | |
parent | b732a2d946192bbf5a35db2263ac19a974697af3 (diff) |
pst-func (4feb14)
git-svn-id: svn://tug.org/texlive/trunk@32892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index aa889b51ab6..e497f211ea7 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -4134,6 +4134,49 @@ sub MAKEltt { &runjob("$CP * $DEST/doc/ltt"); } +# pstricks packages usually support both plain and latex. +# +sub MAKEpst { + print "\t SPECIAL pst $package starts\n"; + # pst-laboObj.tex and pst-fp.sty need special cases: + $standardtex = qq!^(($package(Obj)?)|pst-fp)\.(tex|sty)!; + $whichformat='generic'; + $whichdocformat='generic'; + $specialsourcefmt{$package}='generic'; + $specialsource{$package} = "Makefile|$standardsource"; + &setup; + &xchdir("$DEST/doc/$whichdocformat/$package"); + &buildfilelist; + + $inspatt=$standardins if ! $inspatt; + &runins($inspatt); + &buildfilelist; + &dosource; + &dotex; + &dotype1; + &killfiles ($standardclean); + &killfiles ($moreclean{$package}, "more") if $moreclean{$package}; + + my @cfg = glob ("$DEST/doc/generic/$package/*cfg"); + @cfg = () if $package eq "pst-pad"; # its showexpl.cfg is for the doc + &mv_with_mkdir (@cfg, "$DEST/tex/latex/$package") if @cfg; + + my @dvips = glob ("dvips/*"); + &mv_with_mkdir (@dvips, "$DEST/dvips/$package") if @dvips; + + my @plain = glob ("tex/*"); + &mv_with_mkdir (@plain, "$DEST/tex/generic/$package") if @plain; + + my @sty = glob ("$DEST/tex/generic/$package/*sty"); + push (@sty, "latex/*") if -d "latex"; # in case the source has a subdir + &mv_with_mkdir (@sty, "$DEST/tex/latex/$package") if @sty; + + &SYSTEM("$MV doc/* .") if -d "doc"; + + my $postaction = $posthook{$package}; + eval ($postaction) if $postaction; +} + sub MAKEpstricks { # move the directories. &xchdir ($packagedir); @@ -4560,49 +4603,6 @@ sub MAKEbeebe { } -# pstricks packages usually support both plain and latex. -# -sub MAKEpst { - print "\t SPECIAL pst $package starts\n"; - # pst-laboObj.tex and pst-fp.sty need special cases: - $standardtex = qq!^(($package(Obj)?)|pst-fp)\.(tex|sty)!; - $whichformat='generic'; - $whichdocformat='generic'; - $specialsourcefmt{$package}='generic'; - $specialsource{$package} = "Makefile|$standardsource"; - &setup; - &xchdir("$DEST/doc/$whichdocformat/$package"); - &buildfilelist; - - $inspatt=$standardins if ! $inspatt; - &runins($inspatt); - &buildfilelist; - &dosource; - &dotex; - &dotype1; - &killfiles ($standardclean); - &killfiles ($moreclean{$package}, "more") if $moreclean{$package}; - - my @cfg = glob ("$DEST/doc/generic/$package/*cfg"); - @cfg = () if $package eq "pst-pad"; # its showexpl.cfg is for the doc - &mv_with_mkdir (@cfg, "$DEST/tex/latex/$package") if @cfg; - - my @dvips = glob ("dvips/*"); - &mv_with_mkdir (@dvips, "$DEST/dvips/$package") if @dvips; - - my @plain = glob ("tex/*"); - &mv_with_mkdir (@plain, "$DEST/tex/generic/$package") if @plain; - - my @sty = glob ("$DEST/tex/generic/$package/*sty"); - push (@sty, "latex/*"); # in case the source has a subdir - &mv_with_mkdir (@sty, "$DEST/tex/latex/$package") if @sty; - - &SYSTEM("$MV doc/* .") if -d "doc"; - - my $postaction = $posthook{$package}; - eval ($postaction) if $postaction; -} - sub MAKEfontinst { &xchdir ($packagedir); &runjob("mkdir -p $DEST/tex/latex/fontinst"); |