cppcheck: Build the cfg files (close #2572)

This commit is contained in:
Linquize 2014-05-08 14:27:48 +02:00 committed by Vladimír Čunát
parent 9e7e3978f9
commit 8f5fea5ab0

View File

@ -14,7 +14,11 @@ stdenv.mkDerivation {
sha256 = "0n2hrg99rsp77b3plpip315pyk0x4gh8gljs9z3iwcbcg14mliff";
};
configurePhase = "makeFlags=PREFIX=$out";
configurePhase = ''
makeFlags="PREFIX=$out CFGDIR=$out/cfg"
'';
postInstall = "cp -r cfg $out/cfg";
meta = {
description = "Check C/C++ code for memory leaks, mismatching allocation-deallocation, buffer overrun and more";