diff options
authorPhilip Withnall <>2014-05-26 15:59:15 (GMT)
committerPhilip Withnall <>2014-05-26 15:59:15 (GMT)
commitadc9aa0e71d19bff5deb0065c4e22d9d9f9f9388 (patch)
parent5dd0547431e33f884d5d566bd876af7e5078dce1 (diff)
website: Fix running instructions to use `scan-build make`HEADmaster
Even if ./configure hard-codes the Clang compiler path into the generated Makefiles, other environment variables it sets are needed at compile time, so make must always be run inside scan-build. Otherwise the analyser gets run without the Tartan plugin loaded, which is sad.
1 files changed, 2 insertions, 3 deletions
diff --git a/website/index.html b/website/index.html
index e393739..75514ad 100644
--- a/website/index.html
+++ b/website/index.html
@@ -121,10 +121,9 @@ not enable GLib-specific warnings.</p>
<p>The easiest way to use Tartan standalone is with the
<span class="program-name">scan-build</span> script which comes with Clang:</p>
<pre>scan-build --use-analyzer=/path/to/bin/tartan -v ./
+scan-build --use-analyzer=/path/to/bin/tartan -v make</pre>
<p>where <span class="command">./</span> is the command to configure
-or build your project. You can then run <span class="command">make</span>
-normally to perform the static analysis.</p>
+your project and <span class="command">make</span> builds it.</p>
<p>You can think of <span class="program-name">scan-build</span> as setting the
<span class="env-var">CC</span> environment variable to use the static analyser,