summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorDr. Clea F. Rees <cfrees@imapmail.org>2008-12-03 00:39:57 +0000
committerDr. Clea F. Rees <cfrees@imapmail.org>2008-12-03 00:39:57 +0000
commitd41f00b32c62f7b61e10009b913bcdf4d3af65a7 (patch)
treed08e49fcd824a6ae5326b59a449e571a35ba87d4 /Master/texmf-dist/scripts
parent345df745f9c4bb7fe8030e4605141267e59a8a03 (diff)
latexmk 4.01
git-svn-id: svn://tug.org/texlive/trunk@11505 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-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",