summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds32
1 files changed, 7 insertions, 25 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 496c6108346..fdf912c76df 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -734,7 +734,6 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'phonetic', "&MAKEphonetic",
'physe', "die 'skipping, noinfo license, c.1992 plain format for physics'",
'phyzzx', "die 'skipping, noinfo license, c.1988 plain format for physics'",
- 'pict2e', "&MAKEpict2e",
'pictex', "&MAKEflatten",
'pictex-autoarea',"die 'skipping, use autoarea",
'pigpen', "&MAKEflatten",
@@ -1124,6 +1123,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'niceframe' => '&POST_rmsymlink',
'pedigree-perl' => '&POSTpedigreeperl',
'pgf' => '&POSTpgf',
+ 'pict2e' => '&POSTpict2e',
'pmx' => '&POSTpmx',
'prerex' => '&POSTprerex',
'pst-cox' => '&POSTpstcox',
@@ -4604,30 +4604,6 @@ sub MAKEphonetic {
&donormal ("nosetup");
}
-sub MAKEpict2e {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
-# run the .ins files (if any) supplied
- $inspatt = $specialins{$package} || $standardins;
- $Foundry = $specialfoundry{$package} || $standardfoundry;
- &runins($inspatt);
-# rebuild the list of files in the directory
- &SYSTEM("$MV pict2e-example.cfg pict2e.cfg");
- &buildfilelist;
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &dotex;
- &dosource;
- &SYSTEM("rmdir $DEST/tex/$whichformat/$package 2> /dev/null");
- &SYSTEM("rmdir $DEST/source/$whichformat/$package 2> /dev/null");
- &SYSTEM("rmdir $DEST/doc/$whichdocformat/$package 2> /dev/null");
- killfiles($standardclean);
-}
-
sub PREHOOK_apa6 {
@@ -5163,6 +5139,12 @@ sub POSTpgf {
&SYSTEM ("$RM $DEST/README");
}
+sub POSTpict2e {
+ print "POST$package - mv pict2e{-example,}.cfg \n";
+ my $texdir = "$DEST/tex/latex/pict2e";
+ &SYSTEM ("$MV $texdir/pict2e-example.cfg $texdir/pict2e.cfg");
+}
+
sub POSTpmx {
print "POST$package - preserve binaries\n";
# the pmx package includes binaries made from Build, and normal