From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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: , X-List-Received-Date: Thu, 04 Aug 2016 11:17:07 -0000 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/*),) -- 2.7.4