mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
cppcheck: split man output
This commit is contained in:
parent
36f7d498c9
commit
7b9b6d27d3
1 changed files with 4 additions and 2 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue