diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-31 19:02:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-31 19:02:14 (GMT) |
commit | 0b0da24cdb9b47309b00eccd8f352f3bad3906fe (patch) | |
tree | 5d14e86e82eedb8c30468fc9768cc3c6b8b6095c /templates/html/bib2xhtml.pl | |
parent | f01aa606027faa7fd5b3202999a6e39ea0e821b3 (diff) | |
parent | a0a7ed0c244dbfd88b24a32410681f7a90e0f9db (diff) | |
download | Doxygen-0b0da24cdb9b47309b00eccd8f352f3bad3906fe.zip Doxygen-0b0da24cdb9b47309b00eccd8f352f3bad3906fe.tar.gz Doxygen-0b0da24cdb9b47309b00eccd8f352f3bad3906fe.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'templates/html/bib2xhtml.pl')
-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); |