summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-26 15:59:15 (GMT)
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-26 15:59:15 (GMT)
commitadc9aa0e71d19bff5deb0065c4e22d9d9f9f9388 (patch)
tree5ecc236bdeaf26201b7a10505bd40739f4da23f2
parent5dd0547431e33f884d5d566bd876af7e5078dce1 (diff)
downloadtartan-master.tar.gz
tartan-master.tar.xz
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.
-rw-r--r--website/index.html5
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 ./autogen.sh
-make</pre>
+scan-build --use-analyzer=/path/to/bin/tartan -v make</pre>
<p>where <span class="command">./autogen.sh</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,