summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-20 23:56:34 +0000
committerKarl Berry <karl@freefriends.org>2009-09-20 23:56:34 +0000
commit0ed8c3b79d4d60feca2ebd474727ac34dfd113ea (patch)
treed5d32e4cdea7d4c2ad65246c1095087eb0a54026 /Master/tlpkg/libexec/ctan2tds
parent468ebe00c99a6481bb3542f4ddf6cdadde20d9f7 (diff)
latex2e-help-texinfo (sep09)
git-svn-id: svn://tug.org/texlive/trunk@15392 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds24
1 files changed, 19 insertions, 5 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 5848bf6cb23..3eef55bcb33 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1439,6 +1439,11 @@ $standardxmt='\.xmt';
'vpe' => '\.pl$',
);
+# packages which have info files to install.
+%specialinfos = (
+ 'latex2e-help-texinfo' => '\.info',
+);
+
# packages which have man pages to install. Assume section 1 for now.
%specialmans = (
'findhyph' => 'findhyph.1',
@@ -1447,7 +1452,6 @@ $standardxmt='\.xmt';
'texdirflatten' => 'texdirflatten.1',
);
-
# which suffixes to remove after building. Checked after runins and at
# the end, in the doc directory.
$standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot'
@@ -1467,7 +1471,6 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot'
'hyph-utf8' => 'README',
'jadetex' => $standardclean # these sty files are in passivetex
. '|(dummyels|mlnames|ucharacters|unicode)\.sty',
- 'latex2e-help-texinfo' => '\.info', # must move .info by hand, sigh
'lshort-spanish'=>'lshort-a5book.pdf', # a4 is enough
'mathexam' => 'sample.tex~',
'notes2bib' => "$standardclean|jawltxdoc.sty", # temp file for doc
@@ -1765,6 +1768,7 @@ sub donormal
&dosource;
&dotype1;
&doscripts;
+ &doinfos;
&domans;
# remove empty directories that we never used.
@@ -1938,9 +1942,19 @@ sub doscripts
&SYSTEM ("chmod a+x $DEST/scripts/$package/*");
}
-# man pages. We also put these in texmf/doc/man/man1.
-# Having a man dir in texmf-dist also would imply lots of changes in the
-# installer.
+# info files. We put these in texmf/doc/info, which is where we keep
+# the info files for the programs, too. Having an info dir in
+# texmf-dist also would imply lots of changes in the installer, and
+# there seems to be no gain.
+#
+sub doinfos
+{
+ my $infopatt = $specialinfos{$package};
+ return unless $infopatt;
+ &install ("$TOPDEST/texmf/doc/info/", $infopatt);
+}
+
+# man pages. We put these in texmf/doc/man/man1, a la info (see above).
#
sub domans
{