summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-12 10:43:30 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-12 10:43:30 +0000
commit9ba67aff96c2f2ba10ab84c6617c35cbeb7628c5 (patch)
tree43e2b8045520d169c39b7c4173bb01b1da04d74a /Master
parent35babf66ef943f9e746576b02a8e2b8813143bc0 (diff)
new POSTlatex2html for bibleref, datetime, doipubmed. Now allow specialpostaction after TDS_READY.
git-svn-id: svn://tug.org/texlive/trunk@8080 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds99
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check4
2 files changed, 57 insertions, 46 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index a0a1ef7ec73..07495f67168 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -83,7 +83,6 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'biblatex', "die 'skipping, still experimental'",
'biblatex-dw', "die 'skipping, depends on experimental biblatex'",
'biblatex-mla',"die 'skipping, depends on experimental biblatex'",
- 'bibleref', "&MAKEflatten",
'bibtopicprefix', "&MAKEflatten",
'bitfield', "die 'skipping, obsolete on CTAN'",
'blanks', "die 'skipping, unknown license (and c.1992)'",
@@ -116,7 +115,6 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'ctable', "&MAKEflatten",
'ctib', "&MAKEflatten",
'cweb', "die 'skipping, programs'",
- 'datetime', "&MAKEflatten",
'deleq', "die 'skipping, nosell license'",
'devanagr', "&MAKEdevanagr",
'diagnose', "&MAKEflatten",
@@ -124,7 +122,6 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'disser', "&MAKEdisser",
'dmfonts', "die 'skipping, needs work'",
'dogma', "die 'skipping, requires nonfree font'",
- 'doipubmed', "&MAKEflatten",
'dot2tex', "die 'skipping, only useful with supporting programs'",
'dot2texi', "die 'skipping, only useful with supporting programs'",
'dps', "die 'skipping, requires acrotex'",
@@ -416,6 +413,9 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
%specialpostaction = (
'babel' => '&POSTbabel',
+ 'bibleref' => '&POSTlatex2html',
+ 'datetime' => '&POSTlatex2html',
+ 'doipubmed' => '&POSTlatex2html',
'fpl' => '&POSTfpl',
'glossaries' => '&POSTglossaries',
'ibygrk' => '&POSTibygrk',
@@ -1520,51 +1520,54 @@ sub donormal {
# check for tds-ready packages
if ( -e "$startdir/$packagedir/TDS_READY" ) {
- print "using TDS_READY tree\n";
- &SYSTEM ("$RM $startdir/$packagedir/TDS_READY");
- &SYSTEM ("mkdir -p $DEST");
- &xchdir ($DEST);
- &SYSTEM ("$CP -r $startdir/$packagedir/* .");
- return 0;
- }
-
- &setup unless $ctrl eq "nosetup";
- &xchdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
+ print "using TDS_READY tree\n";
+ &SYSTEM ("$RM $startdir/$packagedir/TDS_READY");
+ &SYSTEM ("mkdir -p $DEST");
+ &xchdir ($DEST);
+ &SYSTEM ("$CP -r $startdir/$packagedir/* .");
+ } else {
+ #use the normal procedure
- # run the .ins files (if any) supplied
- $inspatt = $specialins{$package} || $standardins;
- $Foundry = $specialfoundry{$package} || $standardfoundry;
- &runins($inspatt);
+ &setup unless $ctrl eq "nosetup";
+ &xchdir("$DEST/doc/$whichdocformat/$package");
+ &buildfilelist;
- # 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;
+ # run the .ins files (if any) supplied
+ $inspatt = $specialins{$package} || $standardins;
+ $Foundry = $specialfoundry{$package} || $standardfoundry;
+ &runins($inspatt);
- # remove empty directories that we never used.
- &SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null");
+ # rebuild the list of files in the directory
+ &buildfilelist;
- &killfiles ($specialclean{$package} || $standardclean);
+ 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);
+ }
+
+ # do the postaction in any case (we need to adapt some tds zips)
my $postaction = $specialpostaction{$package};
eval ($postaction) if $postaction;
}
@@ -3358,6 +3361,14 @@ sub POSTinversepath
&SYSTEM ("$MV dtx-style.sty $dest/");
}
+sub POSTlatex2html
+{
+ print "POSTlatex2html - moving $package.perl to doc\n";
+ my $dest = "$DEST/doc/latex/$package";
+ &SYSTEM ("mkdir -p $dest");
+ &SYSTEM ("$MV $DEST/scripts/latex2html/styles/$package.perl $dest");
+}
+
sub POSTleading
{
print "POST$package - moving dtx-style to source\n";
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index d3d3f635552..937182d49c8 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -72,7 +72,7 @@ my @WorkingTLP = qw(
eulervm euproposal euro europecv eurosans everypage exam
examdesign examplep exercise expl3 expressg extarrows exteps
extpfeil extract extsizes
- faktor fancybox fancyhdr fancynum fancyref fancytooltips fax
+ faktor fancybox fancyhdr fancynum fancyref fancytooltips FAQ-en fax
fbs featpost
feyn fge filecontents fink fixme
flagderiv flippdf float floatrow flowfram fltpoint
@@ -162,7 +162,7 @@ my @WorkingTLP = qw(
sdrt sectionbox sectsty semantic semaphor seminar semioneside
seqsplit setspace sf298 sffms sfg sfmath sgame shadbox shapepar
shipunov shorttoc show2e showdim showexpl showlabels
- SIstyle
+ SIstyle SIunits
sidecap sides siggraph simplecv simplewick
skak skaknew slideshow smalltableof smartref
snapshot songbook sort-by-letters soul sparklines spie