summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-05 23:29:43 +0000
committerKarl Berry <karl@freefriends.org>2013-04-05 23:29:43 +0000
commit10e6cd9ce34c0ec20d007ebe6ce8fca9783b7309 (patch)
treeb5978aff26fa2650ca7cf9040bfb7c6c408ddd9b /Master/tlpkg/libexec
parent26b44194fa3622fa961f40a0d62fb3cacaa5cbc9 (diff)
splitindex (5apr13)
git-svn-id: svn://tug.org/texlive/trunk@29688 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds13
1 files changed, 12 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 9811ac65c61..f645fb664b8 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -2369,6 +2369,7 @@ $standardxmt='\.xmt';
'pst2pdf' => 'pst2pdf\.pl$',
'ptex2pdf' => 'ptex2pdf\.lua$',
'purifyeps' => 'purifyeps$',
+ 'splitindex' => 'splitindex\.pl$',
'sty2dtx' => '\.pl$',
'svn-multi' => 'svn-multi\.pl$',
'texcount' => '\.pl$',
@@ -2415,6 +2416,7 @@ $standardxmt='\.xmt';
'pkfix-helper' => 'pkfix-helper.1',
'pmx' => '\.1$',
'purifyeps' => 'purifyeps.1',
+ 'splitindex' => '\.1$',
'sty2dtx' => '\.1$',
'texdiff' => 'texdiff.1',
'texdirflatten' => 'texdirflatten.1',
@@ -5395,7 +5397,16 @@ sub POSTzhspacing {
# on CTAN, else doc/*/$package.
sub POST_do_man {
my ($src_mandir) = @_;
- $src_mandir = "doc/*/$package" if ! $src_mandir;
+
+ if ($src_mandir) {
+ ; # explicitly specified, ok.
+ } elsif (<$DEST/doc/man/man1/*.1>) {
+ $src_mandir = "$DEST/doc/man/man1";
+ } elsif (<$DEST/doc/*/$package/*.1>) {
+ $src_mandir = "doc/*/$package";
+ } else {
+ warn ("$0: could not find man pages starting from " . `pwd`);
+ }
#
print "POST$package - mv *.1 man pages from $src_mandir\n";
my $mydest = "$TOPDEST/texmf/doc/man/man1/";