kernelshark: install documentation
This commit is contained in:
@@ -8,7 +8,11 @@ in mkDerivation rec {
|
||||
|
||||
src = fetchgit srcSpec;
|
||||
|
||||
sourceRoot = "trace-cmd-${shortRev}/kernel-shark";
|
||||
patches = [ ./fix-Makefiles.patch ];
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
preConfigure = "pushd kernel-shark";
|
||||
|
||||
nativeBuildInputs = [ cmake doxygen graphviz ];
|
||||
|
||||
@@ -22,6 +26,12 @@ in mkDerivation rec {
|
||||
"-DTRACEEVENT_LIBRARY=${trace-cmd.lib}/lib/libtraceevent.a"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
popd
|
||||
make install_gui_docs prefix=$doc
|
||||
pushd kernel-shark/build
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GUI for trace-cmd which is an interface for the Linux kernel ftrace subsystem";
|
||||
homepage = http://kernelshark.org/;
|
||||
|
||||
Reference in New Issue
Block a user