diff options
author | albert-github <albert.tests@gmail.com> | 2020-07-31 10:49:36 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-07-31 10:49:36 (GMT) |
commit | 44c1f04b2bc28fbeb14b6d4e17fda0cd029b6890 (patch) | |
tree | 1ed8b9f09f905c1751b0e692b4907e9acab0ed9e /templates | |
parent | f94a2f3a895f2601226845d16093546757a540e6 (diff) | |
download | Doxygen-44c1f04b2bc28fbeb14b6d4e17fda0cd029b6890.zip Doxygen-44c1f04b2bc28fbeb14b6d4e17fda0cd029b6890.tar.gz Doxygen-44c1f04b2bc28fbeb14b6d4e17fda0cd029b6890.tar.bz2 |
Debug facility for the \cite command
When issuing doxygen with `-d cite` the temporary (copied) files / directory are not removed, i.e.:
- bib*.aux
- bib*.bbl
- bib*.blg
- bib2xhtml.pl
- citelist.doc
- doxygen.bst
- bibTmpDir (directory)
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/html/bib2xhtml.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/html/bib2xhtml.pl b/templates/html/bib2xhtml.pl index da6dc62..2b462d3 100755 --- a/templates/html/bib2xhtml.pl +++ b/templates/html/bib2xhtml.pl @@ -118,11 +118,14 @@ sub html_ent { s/\\lfloor\b/⌊/g; s/\\rfloor\b/⌋/g; } +$bdebug = 0; foreach (@ARGV) { if (/\.bib$/) { $bibfile = $_; $bibfile =~ s/\.bib$//; push(@bibfiles,$bibfile); + } elsif ("$_" eq "-d") { + $bdebug = 1; } else { $htmlfile = $_; } @@ -315,5 +318,7 @@ close (OHTMLFILE); close(HTMLFILE); chmod($mode, "$htmlfile$$"); rename("$htmlfile$$", $htmlfile); -unlink(@tmpfiles); +if ($bdebug == 0) { + unlink(@tmpfiles); +} exit(0); |