summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/latexmk/latexmk.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/latexmk/latexmk.pl')
-rwxr-xr-xMaster/texmf-dist/scripts/latexmk/latexmk.pl17
1 files changed, 8 insertions, 9 deletions
diff --git a/Master/texmf-dist/scripts/latexmk/latexmk.pl b/Master/texmf-dist/scripts/latexmk/latexmk.pl
index 0a2c26e6ba9..45fbddd4208 100755
--- a/Master/texmf-dist/scripts/latexmk/latexmk.pl
+++ b/Master/texmf-dist/scripts/latexmk/latexmk.pl
@@ -148,8 +148,8 @@ if 0;
$my_name = 'latexmk';
$My_name = 'Latexmk';
-$version_num = '4.02a';
-$version_details = "$My_name, John Collins, 26 November 2008";
+$version_num = '4.02b';
+$version_details = "$My_name, John Collins, 1 December 2008";
use Config;
@@ -218,6 +218,7 @@ else {
##
## Modification log for 24 Sep 2008 onwards in detail
##
+## 1 Dec 2008, John Collins -c and -C should also delete fdb_latex file
## 26 Nov 2008, John Collins Correct problem with invocation of MSWin
## with cygwin
## 25 Nov 2008, John Collins Correct problem with invocation of MSWin
@@ -1172,9 +1173,8 @@ while ($_ = $ARGV[0])
# Make -- and - equivalent at beginning of option:
s/^--/-/;
shift;
- if (/^-c$/) { $cleanup_mode = 2; $cleanup_only = 1; }
- elsif (/^-C$/) { $cleanup_mode = 1; $cleanup_only = 1; }
- elsif (/^-CA$/) { $cleanup_mode = 1; $cleanup_fdb = 1; $cleanup_only = 1;}
+ if (/^-c$/) { $cleanup_mode = 2; $cleanup_fdb = 1; $cleanup_only = 1; }
+ elsif (/^-C$/ || /^-CA$/ ) { $cleanup_mode = 1; $cleanup_fdb = 1; $cleanup_only = 1; }
elsif (/^-CF$/) { $cleanup_fdb = 1; }
elsif (/^-cd$/) { $do_cd = 1; }
elsif (/^-cd-$/) { $do_cd = 0; }
@@ -1621,7 +1621,7 @@ foreach $filename ( @file_list )
# Add to the generated files, some log file and some backup
# files used in previous versions of latexmk
- &cleanup1( 'blg', 'ilg', 'log', 'aux.bak', 'idx.bak',
+ &cleanup1( $fdb_ext, 'blg', 'ilg', 'log', 'aux.bak', 'idx.bak',
split(' ',$clean_ext),
@generated_exts
);
@@ -2555,10 +2555,9 @@ sub print_help
" This and the other clean-ups are instead of a regular make.\n",
" -C - clean up (remove) all nonessential files\n",
" including aux, dep, dvi, postscript and pdf files\n",
- " But exclude file of database of file information\n",
- " -CA - clean up (remove) absolutely ALL nonessential files\n",
- " including aux, dep, dvi, postscript and pdf files,\n",
" and file of database of file information\n",
+ " -CA - clean up (remove) absolutely ALL nonessential files.\n",
+ " Now equivalent to -C option.\n",
" -CF - Remove file of database of file information before doing \n",
" other actions\n",
" -cd - Change to directory of source file when processing it\n",