diff options
author | albert-github <albert.tests@gmail.com> | 2020-11-23 17:48:35 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-11-23 17:48:35 (GMT) |
commit | 773d0aafb4f603b6924d86a60a2828bd44a16756 (patch) | |
tree | 72ed16d9cd63aab25a8bf43695e841ea11f0c93c /src/docbookvisitor.cpp | |
parent | 4e75d77f60bd173019247177686376ce36ace90b (diff) | |
download | Doxygen-773d0aafb4f603b6924d86a60a2828bd44a16756.zip Doxygen-773d0aafb4f603b6924d86a60a2828bd44a16756.tar.gz Doxygen-773d0aafb4f603b6924d86a60a2828bd44a16756.tar.bz2 |
Making the use of DOT_CLEANUP more transparent
- The setting `DOT_CLEANUP` is not only used for `dot` files but also for temporary `msc` and `plantuml` files, though this was not clear from the documentation.
- For the docbook output format the removal of the `dot` and `msc` files was not don like in the output formats html / LatTeX / rtf.
Diffstat (limited to 'src/docbookvisitor.cpp')
-rw-r--r-- | src/docbookvisitor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/docbookvisitor.cpp b/src/docbookvisitor.cpp index bf6c827..d444b7b 100644 --- a/src/docbookvisitor.cpp +++ b/src/docbookvisitor.cpp @@ -356,12 +356,13 @@ DB_VIS_C QFile file(baseName+".dot"); if (!file.open(IO_WriteOnly)) { - err("Could not open file %s.msc for writing\n",baseName.data()); + err("Could not open file %s.dot for writing\n",baseName.data()); } file.writeBlock( stext, stext.length() ); file.close(); writeDotFile(baseName, s); m_t << "</para>" << endl; + if (Config_getBool(DOT_CLEANUP)) file.remove(); } break; case DocVerbatim::Msc: @@ -388,6 +389,7 @@ DB_VIS_C file.close(); writeMscFile(baseName,s); m_t << "</para>" << endl; + if (Config_getBool(DOT_CLEANUP)) file.remove(); } break; case DocVerbatim::PlantUML: |