diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-14 00:37:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-14 00:37:46 +0000 |
commit | 95e250298e952221a6faf73a5ba3b185ba07631f (patch) | |
tree | 81ca0261d2376f59cf75454a7f9448f05b8264b6 /Master/texmf-dist/scripts | |
parent | ce2b3fbaf00f1b5532f758ae812a1f3b592d6df8 (diff) |
latexmk update (13apr10)
git-svn-id: svn://tug.org/texlive/trunk@17854 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/latexmk/latexmk.pl | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/Master/texmf-dist/scripts/latexmk/latexmk.pl b/Master/texmf-dist/scripts/latexmk/latexmk.pl index bf3a7f7ee38..ababdc1a3a7 100755 --- a/Master/texmf-dist/scripts/latexmk/latexmk.pl +++ b/Master/texmf-dist/scripts/latexmk/latexmk.pl @@ -108,8 +108,8 @@ use warnings; $my_name = 'latexmk'; $My_name = 'Latexmk'; -$version_num = '4.15'; -$version_details = "$My_name, John Collins, 7 April 2010"; +$version_num = '4.15b'; +$version_details = "$My_name, John Collins, 12 April 2010"; use Config; @@ -119,7 +119,7 @@ use FileHandle; use File::Find; use Cwd; # To be able to change cwd use Cwd "chdir"; # Ensure $ENV{PWD} tracks cwd -use Digest; +use Digest::MD5; #use strict; @@ -178,6 +178,17 @@ else { ## ## Modification log from 22 Jan 2010 onwards in detail ## +## 12 Apr 2010, John Collins V. 4.15b. Change +## use Digest; +## to +## use Digest::MD5; +## for TeX Live compatibility. Needed also to change +## my $md5 = Digest->MD5; +## to +## my $md5 = Digest::MD5->new; +## +## 8 Apr 2010, John Collins V. 4.15a. Better defaults for system +## configuration file under cygwin ## 7 Apr 2010, John Collins V. 4.15: Change defaults on ## $latex_silent_switch and $pdflatex_silent_switch ## to make them TeXLive compatible always @@ -574,8 +585,15 @@ elsif ( $^O eq "cygwin" ) { ## List of possibilities for the system-wide initialization file. ## The first one found (if any) is used. - ## We can stay with MSWin files here, since perl understands them, - @rc_system_files = ( 'C:/latexmk/LatexMk' ); + ## We could stay with MSWin files here, since cygwin perl understands them + ## @rc_system_files = ( 'C:/latexmk/LatexMk' ); + ## But they are deprecated in v. 1.7. So use the UNIX version, prefixed + ## with a cygwin equivalent of the MSWin location + @rc_system_files = + ( '/cygdrive/c/latexmk/LatexMk', + '/opt/local/share/latexmk/LatexMk', + '/usr/local/share/latexmk/LatexMk', + '/usr/local/lib/latexmk/LatexMk' ); $search_path_separator = ';'; # Separator of elements in search_path # This is tricky. The search_path_separator depends on the kind @@ -5936,7 +5954,7 @@ sub get_time_size_raw sub get_checksum_md5 { my $source = shift; my $input = new FileHandle; - my $md5 = Digest->MD5; + my $md5 = Digest::MD5->new; my $ignore_pattern = ''; #warn "======= GETTING MD5: $source\n"; |