summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-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/";