diff options
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 6f428ddb1f8..9e7c53ad992 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -3415,7 +3415,7 @@ $standardttf = '\.ttf|\.TTC'; ); -# scripts to install under texmf*/.../scripts, but not bindir. +# scripts to install under texmf*/.../scripts, but no bindir links. %specialscripts_nobin = ( 'albatross' => '\.jar$', 'bib2gls' => '\.jar$', @@ -3514,7 +3514,7 @@ $standardttf = '\.ttf|\.TTC'; 'ltxfileinfo' => 'ltxfileinfo$', 'ltximg' => 'ltximg\.pl$', 'lua2dox' => 'lua2dox_filter?$', - 'luafindfont' => 'luafindfont.lua', + 'luafindfont' => 'luafindfont\.lua$', 'luaotfload' => 'luaotfload-tool', 'lwarp' => 'lwarpmk.lua', 'm-tx' => 'm-tx.lua', @@ -4158,6 +4158,7 @@ sub donormal { &dodvi; # rebuild again, as we have .dvi files now &buildfilelist; + &doscripts; # scripts first since otherwise may match tex &dobst; &domp; &dobib; @@ -4167,7 +4168,6 @@ sub donormal { &doomega; &dosource; &dotype1; - &doscripts; &dotexinfos; &doinfos; &domans; @@ -4249,6 +4249,7 @@ sub dodvi { # move the runtime files sub dotex { my $texpatt = $specialtex{$package} || $standardtex; + print "\t DOTEX $texpatt\n"; &install("$DEST/tex/$whichformat/$package", $texpatt); } @@ -4256,11 +4257,13 @@ sub dotex { sub domakeindex { $makeindexpatt = $specialmakeindex{$package}; if ($makeindexpatt eq "") { $makeindexpatt=$standardmakeindex; } + print "\t DOMAKEINDEX $makeindexpatt\n"; &install("$DEST/makeindex/$package",$makeindexpatt); } # BibTeX style files: sub dobst { + print "\t DOBST\n"; $csfpatt = $specialcsf{$package}; if ($csfpatt eq "") { $csfpatt=$standardcsf; } &install("$DEST/bibtex/csf/$package",$csfpatt); @@ -4272,18 +4275,21 @@ sub dobst { # simple MF files, e.g., if specialfoundry eq "metafont". sub dosimplemf { my $mfpatt = $specialmf{$package} || $standardmf; + print "\t DOSIMPLEMF $mfpatt\n"; &install ("$DEST/metafont/$package", $mfpatt); } # MetaPost files: sub domp { $mppatt = $specialmp{$package} || $standardmp; + print "\t DOMP $mppatt\n"; &install("$DEST/metapost/$package", $mppatt); } # BibTeX bibliography files: sub dobib { $bibpatt = $specialbib{$package} || $standardbib; + print "\t DOBIB $bibpatt\n"; &install("$DEST/bibtex/bib/$package", $bibpatt); } @@ -4292,12 +4298,13 @@ sub dosource { $sourceformat = $specialsourcefmt{$package} || $standardsourcefmt; # default to using specialdocfmt, as we do in setup? $sourcepatt = $specialsource{$package} || $standardsource; + print "\t DOSOURCE $sourcepatt\n"; &install("$DEST/source/$sourceformat/$package", $sourcepatt); } # omega files: -sub doomega -{ +sub doomega { + print "\t DOOMEGA\n"; $ovfpatt = $specialovf{$package}; if ($ovfpatt eq "") { $ovfpatt=$standardovf; } &install("$DEST/fonts/ovf/public/$package",$ovfpatt); @@ -4317,6 +4324,7 @@ sub doomega # the dvips and font mapping files: sub dotype1{ + print "\t DOTYPE1\n"; my $encpatt = $specialenc{$package} || $standardenc; &install("$DEST/fonts/enc/dvips/$package", $encpatt); @@ -4361,7 +4369,7 @@ sub dotype1{ # We also make the symlinks/w32-wrapper-copy in Master/bin. # sub doscripts { - print "doing doscripts()...\n"; + print "\t DOSCRIPTS\n"; my $pwd = getcwd(); my $scriptsdir = "$DEST/scripts/$package"; @@ -4373,6 +4381,7 @@ sub doscripts { # first do the user-visible bindir entries. $scriptpatt = $specialscripts_bin{$package}; if ($scriptpatt) { + print " doing bindir pattern $scriptpatt...\n"; if (! $tds_zip) { &install ($scriptsdir, $scriptpatt); &SYSTEM ("chmod a+x $scriptsdir/*"); @@ -4391,6 +4400,7 @@ sub doscripts { # (and hence also not in Build.) my $nobin_scriptpatt = $specialscripts_nobin{$package}; if ($nobin_scriptpatt) { + print " doing nobin pattern $nobin_scriptpatt...\n"; if (! $tds_zip) { &install ($scriptsdir, $nobin_scriptpatt); &SYSTEM ("chmod a+x $scriptsdir/*"); @@ -4497,6 +4507,7 @@ sub doscripts { sub doinfos { my $infopatt = $specialinfos{$package}; return unless $infopatt; + print "\t DOINFOS $infopatt\n"; &install ("$TOPDEST/texmf-dist/doc/info/", $infopatt); } @@ -4506,6 +4517,7 @@ sub doinfos { sub dotexinfos { my $texipatt = $specialtexinfos{$package}; return unless $texipatt; + print "\t DOTEXINFOS $texipatt\n"; local *DOT; opendir (DOT, ".") || die "opendir(.) failed: $! in " . `pwd`; @@ -4530,6 +4542,7 @@ sub dotexinfos { sub domans { my $manpatt = $specialmans{$package}; return unless $manpatt; + print "\t DOMANS $manpatt\n"; &install ("$TOPDEST/texmf-dist/doc/man/man1/", $manpatt); &tl_man_to_pdf (); # make pdfs for them } @@ -4590,8 +4603,8 @@ sub domf { sub runmf { my ($mfpatt) = @_; - print "\t doing runmf for $package ($mfpatt)\n"; - print " from filenames: @filenames\n"; + print "\t RUNMF for package $package ($mfpatt)\n"; + print "\t against filenames: @filenames\n"; for my $file (grep (/$mfpatt/, @filenames)) { ($FileBase,$Filepath,$Filesuffix) = fileparse ($file, "\.[A-z]*"); if (! -e "$FileBase.tfm") { |