summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-12-25 18:26:07 +0000
committerKarl Berry <karl@freefriends.org>2010-12-25 18:26:07 +0000
commita291253eb0a578cb1f6c6342a7c26f779baad7af (patch)
tree2d9a746333f8ac41f225b8758e6f3d89b2f8c44b /Master/tlpkg
parent7dc31b538dca4d17ef13ea5c4f9facdcbd77a5d6 (diff)
handle mkjobtexmf.man through ctan2tds[.pl] now
git-svn-id: svn://tug.org/texlive/trunk@20859 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds21
1 files changed, 14 insertions, 7 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index ae1d4107732..2d9760ab104 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1469,11 +1469,10 @@ $standardsource='\.(c|drv|dtx|fea|fdd|ins|sfd)$|configure.*|install-sh';
'feynmf', 'feynmf\.pl|' . $standardsource,
'findhyph', 'NULL', # leave makefile
'fmtcount', 'fmtcount.perl|' . $standardsource,
+ 'fpl', 'Add|\.pe|\.ps' . $standardsource,
'grverb', '\.vpl|' . $standardsource,
'hyper', '\.pl|' . $standardsource,
'hyphenex', '.*',
- 'mff', '\.mfj|\.bat|\.diz',
- 'fpl', 'Add|\.pe|\.ps' . $standardsource,
'impatient', 'NULL', # doc package
'intro-scientific', 'NULL', # doc package
'js-misc', 'NULL', # no gain in splitting up
@@ -1483,10 +1482,12 @@ $standardsource='\.(c|drv|dtx|fea|fdd|ins|sfd)$|configure.*|install-sh';
'latex2man', 'NULL', # leave Makefile
'latexdiff', 'NULL', # leave Makefile
'lua-alt-getopt', 'NULL',
+ 'mff', '\.mfj|\.bat|\.diz',
+ 'mkjobtexmf', 'Makefile.in|' . $standardsource,
'mpman-ru', 'NULL', # doc package
'ot2cyr', '\.afm|\.etx|' . $standardsource,
- 'pdfx', 'rvdtx\.sty|' . $standardsource,
'patch', '\.doc',
+ 'pdfx', 'rvdtx\.sty|' . $standardsource,
'pgfplots', 'NULL', # keep manual.install.tex in doc/
'rcs', 'rcs.el|src|' . $standardsource,
'thailatex', 'NULL', # no gain in splitting up
@@ -1827,6 +1828,7 @@ $standardxmt='\.xmt';
'findhyph' => 'findhyph.1',
'latexdiff' => '\.1$',
'latexmk' => 'latexmk.1',
+ 'mkjobtexmf' => 'mkjobtexmf.man',
'perltex' => 'perltex.1',
'pdfjam' => '\.1$',
'pkfix-helper' => 'pkfix-helper.1',
@@ -2426,8 +2428,7 @@ sub domf {
# man pages. We put these in texmf/doc/man/man1, a la info (see above).
#
-sub domans
-{
+sub domans {
my $manpatt = $specialmans{$package};
return unless $manpatt;
&install ("$TOPDEST/texmf/doc/man/man1/", $manpatt);
@@ -2439,16 +2440,22 @@ sub domans
# all consistent. So we copy over our Makefiles, run make, and then
# remove them.
#
-sub tl_man_to_pdf
-{
+sub tl_man_to_pdf {
my $Master_man = "$Master/texmf/doc/man";
my $pkg_man = "$TOPDEST/texmf/doc/man";
+ print "tl_man_to_pdf for " . join (" ", <$pkg_man/man1/*>) . "\n";
+
&SYSTEM ("cd $Master_man && $CP --parents Makefile man1/Makefile $pkg_man/");
# Extra complication: we don't want to rebuild everything, only those
# that have changed. Therefore, also copy in the pdfs for the package
# being updated from the Master man dir.
for my $man (<$pkg_man/man1/*>) {
+ if ($man =~ /\.man$/) { # rename from .man to .1
+ (my $man1 = $man) =~ s/\.man$/\.1/;
+ &SYSTEM ("$MV $man $man1");
+ $man = $man1;
+ }
(my $pdf_man = $man) =~ s,^.*/,,; # just foo.1, no directories
$pdf_man =~ s/1$/man1.pdf/; # foo.1 -> foo.man1.pdf
#