]> git.proxmox.com Git - pve-kernel.git/commitdiff
d/rules: install perf man pages
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 24 Apr 2018 11:57:29 +0000 (13:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 25 Apr 2018 12:05:21 +0000 (14:05 +0200)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/rules

index 0debc5e55b1d28f49bbf12d929cc105e53c78ddd..1d8a5ef3d9572d751a6cb8e988bb5261834a9ca3 100755 (executable)
@@ -126,12 +126,16 @@ binary: install
 .tools_compile_mark: .compile_mark
        ${MAKE} -C ${KERNEL_SRC}/tools/perf prefix=/usr HAVE_CPLUS_DEMANGLE=1 NO_LIBPYTHON=1 NO_LIBPERL=1 NO_LIBCRYPTO=1 PYTHON=python2.7
        ${MAKE} -C ${KERNEL_SRC}/tools/perf man
+       # contained in linux-base
+       rm -f ${KERNEL_SRC}/tools/perf/Documentation/perf.1
        touch $@
 
 .tools_install_mark: .tools_compile_mark
        rm -rf debian/${LINUX_TOOLS_PKG}
        mkdir -p debian/${LINUX_TOOLS_PKG}/usr/bin
+       mkdir -p debian/${LINUX_TOOLS_PKG}/usr/share/man/man1
        install -m 755 ${BUILD_DIR}/${KERNEL_SRC}/tools/perf/perf debian/${LINUX_TOOLS_PKG}/usr/bin/perf_4.13
+       install -m644 ${BUILD_DIR}/${KERNEL_SRC}/tools/perf/Documentation/*.1 debian/${LINUX_TOOLS_PKG}/usr/share/man/man1
        touch $@
 
 .headers_install_mark: .compile_mark .modules_compile_mark