summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/ctan2tds')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds102
1 files changed, 102 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index c4a026c18a3..c0aff3a98af 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -195,6 +195,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'hyphen-german',"die 'please install hyphen-german by hand, sorry'",
'ibycus-babel',"&MAKEibycusbabel",
'ibygrk', "&MAKEflatten",
+ 'inversepath', "&MAKEinversepath",
'invoice', "&MAKEflatten",
'iwona', "&MAKEcopy",
'japanese', "die 'skipping, requires ptex'",
@@ -210,6 +211,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'latex-tds', "&MAKEcopy", # we use latex-tds/source.zip
'latex-veryshortguide', "die 'skipping, nosell license'",
'latexmp', "&MAKEflatten",
+ 'leading', "&MAKEleading",
'leawood', "&MAKEflatten",
'lettre', "&MAKEflatten",
'lettrine', "&MAKEflatten",
@@ -2693,6 +2695,106 @@ sub MAKEFAQen
&SYSTEM ("tar xzf FAQ-html.tar.gz && rm FAQ-html.tar.gz");
}
+# Almost donormal() but .ins overwites itself... Wrote to Will (2008/04/15)
+sub MAKEleading {
+ print "doing MAKE$package... \n"
+ &setup;
+ chdir("$DEST/doc/$whichdocformat/$package");
+ &buildfilelist;
+
+ ## save the original .ins
+ &SYSTEM ("$CP $package.ins $package.ins.ori");
+
+ # run the .ins files (if any) supplied
+ $inspatt = $specialins{$package} || $standardins;
+ $Foundry = $specialfoundry{$package} || $standardfoundry;
+ &runins($inspatt);
+
+ ## restore the original .ins
+ &SYSTEM ("$MV $package.ins.ori $package.ins");
+
+ # rebuild the list of files in the directory
+ &buildfilelist;
+
+ if ($Foundry eq "metafont") {
+ &dosimplemf;
+ } else {
+ &domf;
+ }
+
+ &dodvi;
+ # rebuild again, as we have .dvi files now
+ &buildfilelist;
+ &dobst;
+ &domp;
+ &dobib;
+ &doxmt;
+ &dotex;
+ &runfonts;
+ &domakeindex;
+ &doomega;
+ &dosource;
+ &dotype1;
+ &doscripts;
+
+ # remove empty directories that we never used.
+ &SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null");
+
+ &killfiles ($specialclean{$package} || $standardclean);
+ my $postaction = $specialpostaction{$package};
+ eval ($postaction) if $postaction;
+}
+
+# Almost donormal() but .ins overwites itself... Wrote to Will (2008/04/15)
+sub MAKEinversepath {
+ print "doing MAKE$package... \n"
+ &setup;
+ chdir("$DEST/doc/$whichdocformat/$package");
+ &buildfilelist;
+
+ ## save the original .ins
+ &SYSTEM ("$CP $package.ins $package.ins.ori");
+
+ # run the .ins files (if any) supplied
+ $inspatt = $specialins{$package} || $standardins;
+ $Foundry = $specialfoundry{$package} || $standardfoundry;
+ &runins($inspatt);
+
+ ## restore the original .ins
+ &SYSTEM ("$MV $package.ins.ori $package.ins");
+
+ # rebuild the list of files in the directory
+ &buildfilelist;
+
+ if ($Foundry eq "metafont") {
+ &dosimplemf;
+ } else {
+ &domf;
+ }
+
+ &dodvi;
+ # rebuild again, as we have .dvi files now
+ &buildfilelist;
+ &dobst;
+ &domp;
+ &dobib;
+ &doxmt;
+ &dotex;
+ &runfonts;
+ &domakeindex;
+ &doomega;
+ &dosource;
+ &dotype1;
+ &doscripts;
+
+ # remove empty directories that we never used.
+ &SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null");
+
+ &killfiles ($specialclean{$package} || $standardclean);
+ my $postaction = $specialpostaction{$package};
+ eval ($postaction) if $postaction;
+}
+
# all the lshort translations are pretty similar.
sub MAKElshort {
print "MAKElshort $package\n";