diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-31 17:33:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 17:33:11 (GMT) |
commit | a0a7ed0c244dbfd88b24a32410681f7a90e0f9db (patch) | |
tree | 6be63781f4f97f0e0ab792d930210aae1150285d /templates | |
parent | d56e225889003904344d6b4e9ae4ff2338733539 (diff) | |
parent | 44c1f04b2bc28fbeb14b6d4e17fda0cd029b6890 (diff) | |
download | Doxygen-a0a7ed0c244dbfd88b24a32410681f7a90e0f9db.zip Doxygen-a0a7ed0c244dbfd88b24a32410681f7a90e0f9db.tar.gz Doxygen-a0a7ed0c244dbfd88b24a32410681f7a90e0f9db.tar.bz2 |
Merge pull request #7936 from albert-github/feature/bug_cite_debug
Debug facility for the \cite command
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 ca40b5f..539aaab 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); |