summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-09-29 17:58:53 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-09-29 17:58:53 (GMT)
commit08cf278fb80ffb7844b4339458cf4ad03453e827 (patch)
tree98b957fde5cce2275c1cc4121e91cd4d02337a36 /src/filedef.cpp
parent51ee1b0633fbfa935da08c8a13f70da6fc1c074d (diff)
downloadDoxygen-08cf278fb80ffb7844b4339458cf4ad03453e827.zip
Doxygen-08cf278fb80ffb7844b4339458cf4ad03453e827.tar.gz
Doxygen-08cf278fb80ffb7844b4339458cf4ad03453e827.tar.bz2
Bug 755786 - fatal: Cannot open 'graph_legend': No such file or directory
For the graph_legend also a file definition is created although it is a generated file and therefore it should be excluded as well. (Problem occurs with any command that is used in FILE_VERSION_FILTER)
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index d6e49a2..2a09c41 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -1737,7 +1737,8 @@ bool FileDef::isDocumentationFile() const
void FileDef::acquireFileVersion()
{
QCString vercmd = Config_getString("FILE_VERSION_FILTER");
- if (!vercmd.isEmpty() && !m_filePath.isEmpty() && m_filePath!="generated")
+ if (!vercmd.isEmpty() && !m_filePath.isEmpty() &&
+ m_filePath!="generated" && m_filePath!="graph_legend")
{
msg("Version of %s : ",m_filePath.data());
QCString cmd = vercmd+" \""+m_filePath+"\"";