From 08cf278fb80ffb7844b4339458cf4ad03453e827 Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 29 Sep 2015 19:58:53 +0200 Subject: 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) --- src/filedef.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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+"\""; -- cgit v0.12