summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-02-15 11:04:38 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-02-15 11:04:38 (GMT)
commiteb1d5e89154fa500de3485f27f492e40de2907a9 (patch)
treed9da6afa8ee9a4d4c562f30e0891f2063dcf42bf
parentcc78b12b0019fbcb17692b231d38ba75d0952201 (diff)
parent90ecc2487146e0cdd392047342a30fd13453b233 (diff)
downloadDoxygen-eb1d5e89154fa500de3485f27f492e40de2907a9.zip
Doxygen-eb1d5e89154fa500de3485f27f492e40de2907a9.tar.gz
Doxygen-eb1d5e89154fa500de3485f27f492e40de2907a9.tar.bz2
Merge pull request #114 from albert-github/feature/bug_vhdl_dot
Place where dot executable is found
-rw-r--r--src/vhdldocgen.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index 1a37060..040a398 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");
}