summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-04-15 15:46:34 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-04-15 15:46:34 +0000
commitc5409cccadbcad6f11322d6fb1dd4fb4c9a05822 (patch)
tree7ec1f6536c0ba0a690d79cd22895aa6c4fa2e77b
parent1688dc92e346905e570217f24e16b58afaa5f34a (diff)
leading - adapting ctan2tds
git-svn-id: svn://tug.org/texlive/trunk@7424 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/latex/leading/leading.ins1
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds102
2 files changed, 103 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/leading/leading.ins b/Master/texmf-dist/source/latex/leading/leading.ins
index 272dc67de35..e9fd8e01f51 100644
--- a/Master/texmf-dist/source/latex/leading/leading.ins
+++ b/Master/texmf-dist/source/latex/leading/leading.ins
@@ -11,6 +11,7 @@
%%
%% License information appended.
%%
+%%
\input docstrip.tex
\keepsilent
\preamble
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";