3
0
Fork 0
forked from mirrors/nixpkgs

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''; makeFlags = ''PREFIX=$(out) CFGDIR=$(out)/cfg'';
outputs = [ "out" "man" ];
postInstall = '' postInstall = ''
make DB2MAN=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl man make DB2MAN=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl man
mkdir -p $out/share/man/man1 mkdir -p $man/share/man/man1
cp cppcheck.1 $out/share/man/man1/cppcheck.1 cp cppcheck.1 $man/share/man/man1/cppcheck.1
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {