forked from mirrors/nixpkgs
cppcheck: split man output
This commit is contained in:
parent
36f7d498c9
commit
7b9b6d27d3
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue