diff options
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 287929a3305..3c96b9fec3b 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1802,6 +1802,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'unicode-alphabets' => '&POST_onelevel', 'unimath-plain-xetex' => '&POSTunimath_plain_xetex', 'uplatex' => '&POST_preserve_man', + 'upmendex' => '&POSTupmendex', 'velthuis' => '&POSTvelthuis', 'webquiz' => '&POST_deref_symlink', 'writeongrid' => '&POST_onelevel', @@ -4030,7 +4031,7 @@ sub set_dir_defaults { $guess = "$standarddocfmt for fmt/docfmt/srcfmt"; } elsif ($ctan_dir - =~ m!/(CTAN|tex-archive)/(support|web|graphics/.*/scripts)/!) { + =~ m!/(CTAN|tex-archive)/(indexing|support|web|graphics/.*/scripts)/!) { $standarddocfmt = $standardsourcefmt = "support"; $guess = "$standarddocfmt for docfmt/srcfmt"; @@ -7521,6 +7522,16 @@ sub POSTunimath_plain_xetex { &SYSTEM ("$MV doc/* ."); } +sub POSTupmendex { + print "POST$package - redistribute macro and doc files, rm source\n"; + &SYSTEM ("$RM -r source"); # in our sources + # + my $mandir = "$DEST/man/man1"; + &mv_with_mkdir ("man/*" => $mandir); + # + &SYSTEM ("$MV doc/* ."); +} + sub POSTvelthuis { print "POST$package - redistribute macro and doc files\n"; # |