bcc: install documentation not as an executable
in bcc/tools documentation was wrapped as an executable
This commit is contained in:
parent
c58f6e62de
commit
e2991cc70b
|
@ -19,7 +19,11 @@ stdenv.mkDerivation rec {
|
|||
cmakeFlags="-DBCC_KERNEL_MODULES_DIR=${kernel.dev}/lib/modules -DBCC_KERNEL_HAS_SOURCE_DIR=1";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/bin $out/share
|
||||
rm -r $out/share/bcc/tools/{old,doc/CMakeLists.txt}
|
||||
mv $out/share/bcc/tools/doc $out/share
|
||||
mv $out/share/bcc/man $out/share/
|
||||
|
||||
for f in $out/share/bcc/tools\/*; do
|
||||
ln -s $f $out/bin/$(basename $f)
|
||||
wrapProgram $f \
|
||||
|
|
Loading…
Reference in a new issue