[pve-devel] [PATCH kernel 3/4] d/rules: install perf man pages

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Apr 24 13:57:29 CEST 2018


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 725ca0f..a84ae5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -127,12 +127,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.15
+	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
-- 
2.14.2





More information about the pve-devel mailing list