diff options
author | albert-github <albert.tests@gmail.com> | 2014-02-12 10:59:09 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2014-02-12 10:59:09 (GMT) |
commit | 90ecc2487146e0cdd392047342a30fd13453b233 (patch) | |
tree | c7366bad872844f44022ede52c9b5036fe0c26cb /src/vhdldocgen.cpp | |
parent | dc5522b29e8058f15865b5226e1b44566c3a7629 (diff) | |
download | Doxygen-90ecc2487146e0cdd392047342a30fd13453b233.zip Doxygen-90ecc2487146e0cdd392047342a30fd13453b233.tar.gz Doxygen-90ecc2487146e0cdd392047342a30fd13453b233.tar.bz2 |
Place where dot executable is found
In the current vhdl part of the code it is required that the dot executable is in the path. On in dot.cpp the possibility exists that the dot executable is found through the configuration setting DOT_PATH.
This patch makes this more consistent
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r-- | src/vhdldocgen.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp index afdf55f..262b90f 100644 --- a/src/vhdldocgen.cpp +++ b/src/vhdldocgen.cpp @@ -167,7 +167,8 @@ static void createSVG() QRegExp ep("[\\s]"); QCString vlargs="-Tsvg \""+ov+"\" "+dir ; - if (portable_system("dot",vlargs)!=0) + QCString dotExe = Config_getString("DOT_PATH")+"dot"; + if (portable_system(dotExe,vlargs)!=0) { err("could not create dot file"); } @@ -3884,8 +3885,9 @@ void FlowChart::createSVG() ov+="/flow_design.dot"; QCString vlargs="-Tsvg "+ov+dir ; + QCString dotExe = Config_getString("DOT_PATH")+"dot"; - if (portable_system("dot",vlargs)!=0) + if (portable_system(dotExe,vlargs)!=0) { err("could not create dot file"); } |