cppcheck: split man output

This commit is contained in:
Joachim Fasting 2016-04-15 17:18:29 +02:00
parent 36f7d498c9
commit 7b9b6d27d3
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4

View file

@ -16,10 +16,12 @@ stdenv.mkDerivation rec {
makeFlags = ''PREFIX=$(out) CFGDIR=$(out)/cfg'';
outputs = [ "out" "man" ];
postInstall = ''
make DB2MAN=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl man
mkdir -p $out/share/man/man1
cp cppcheck.1 $out/share/man/man1/cppcheck.1
mkdir -p $man/share/man/man1
cp cppcheck.1 $man/share/man/man1/cppcheck.1
'';
meta = with stdenv.lib; {