From patchwork Thu Aug 4 11:16:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Ehrhardt X-Patchwork-Id: 15121 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 4196B58C3; Thu, 4 Aug 2016 13:17:10 +0200 (CEST) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by dpdk.org (Postfix) with ESMTP id 9CDEF558F for ; Thu, 4 Aug 2016 13:17:06 +0200 (CEST) Received: from 1.general.paelzer.uk.vpn ([10.172.196.172] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1bVGeA-0008Fa-BO; Thu, 04 Aug 2016 11:17:06 +0000 From: Christian Ehrhardt To: christian.ehrhardt@canonical.com, thomas.monjalon@6wind.com, dev@dpdk.org Date: Thu, 4 Aug 2016 13:16:59 +0200 Message-Id: <1470309419-4389-5-git-send-email-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1470309419-4389-1-git-send-email-christian.ehrhardt@canonical.com> References: <1470309419-4389-1-git-send-email-christian.ehrhardt@canonical.com> Subject: [dpdk-dev] [PATCH 4/4] doc: make the devbind man page be part of section 8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" As a root only program in sbin it should belong to section 8 "8 System administration commands (usually only for root)" Signed-off-by: Christian Ehrhardt --- doc/guides/conf.py | 2 +- mk/rte.sdkinstall.mk | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index ad8e8b3..52e2acf 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -102,7 +102,7 @@ man_pages = [("testpmd_app_ug/run_app", "testpmd", ("sample_app_ug/pmdinfo", "dpdk-pmdinfo", "dump a PMDs hardware support info", "", 1), ("sample_app_ug/devbind", "dpdk-devbind", - "check device status and bind/unbind them from drivers", "", 1)] + "check device status and bind/unbind them from drivers", "", 8)] ######## :numref: fallback ######## # The following hook functions add some simple handling for the :numref: diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 533d369..b1faf28 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -139,6 +139,11 @@ ifneq ($(wildcard $O/doc/man/*/*.1),) $(Q)$(call rte_mkdir, $(DESTDIR)$(mandir)/man1) $(Q)cp -a $O/doc/man/*/*.1 $(DESTDIR)$(mandir)/man1 endif +ifneq ($(wildcard $O/doc/man/*/*.8),) + $(Q)$(call rte_mkdir, $(DESTDIR)$(mandir)) + $(Q)$(call rte_mkdir, $(DESTDIR)$(mandir)/man8) + $(Q)cp -a $O/doc/man/*/*.8 $(DESTDIR)$(mandir)/man8 +endif install-kmod: ifneq ($(wildcard $O/kmod/*),)