From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9D8245961 for ; Tue, 20 Oct 2015 01:36:44 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 19 Oct 2015 16:36:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,704,1437462000"; d="scan'208";a="814776674" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 19 Oct 2015 16:36:45 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 19 Oct 2015 16:36:43 -0700 Received: from fmsmsx107.amr.corp.intel.com ([169.254.6.163]) by FMSMSX109.amr.corp.intel.com ([169.254.15.59]) with mapi id 14.03.0248.002; Mon, 19 Oct 2015 16:36:43 -0700 From: "Arevalo, Mario Alfredo C" To: Olivier MATZ , "dev@dpdk.org" Thread-Topic: [PATCH v4 5/7] mk: Add rule for installing documentation Thread-Index: AQHQ/6tKtWl+WKyse0+Y3XkT5UBEfp5vCFCAgASGKcM= Date: Mon, 19 Oct 2015 23:36:43 +0000 Message-ID: <6594B51DBE477C48AAE23675314E6C460F1B7226@fmsmsx107.amr.corp.intel.com> References: <1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com> <1444076406-30141-1-git-send-email-mario.alfredo.c.arevalo@intel.com> <1444076406-30141-6-git-send-email-mario.alfredo.c.arevalo@intel.com>, <56215065.6070907@6wind.com> In-Reply-To: <56215065.6070907@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.19.9.42] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 5/7] mk: Add rule for installing documentation 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: Mon, 19 Oct 2015 23:36:45 -0000 Hi Olivier,=0A= =0A= Ooops I'm going to fix that :)=0A= =0A= Thanks.=0A= Mario.=0A= ________________________________________=0A= From: Olivier MATZ [olivier.matz@6wind.com]=0A= Sent: Friday, October 16, 2015 12:30 PM=0A= To: Arevalo, Mario Alfredo C; dev@dpdk.org=0A= Subject: Re: [PATCH v4 5/7] mk: Add rule for installing documentation=0A= =0A= Hi Mario,=0A= =0A= On 10/05/2015 10:20 PM, Mario Carrillo wrote:=0A= > Add hierarchy-file support to the DPDK documentation.=0A= >=0A= > When invoking "make install-doc" documentation files will=0A= > be installed in: $(DESTDIR)/$(DOC_DIR) where=0A= > DOC_DIR=3D$(DESTDIR)/usr/share/doc/dpdk by default.=0A= >=0A= > You can override DOC_DIR var.=0A= > This hierarchy is based on:=0A= > http://www.freedesktop.org/software/systemd/man/file-hierarchy.html=0A= >=0A= > Signed-off-by: Mario Carrillo =0A= > ---=0A= > mk/rte.sdkinstall.mk | 14 ++++++++++++++=0A= > mk/rte.sdkroot.mk | 6 ++++--=0A= > 2 files changed, 18 insertions(+), 2 deletions(-)=0A= >=0A= > diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk=0A= > index 628d9fb..d917329 100644=0A= > --- a/mk/rte.sdkinstall.mk=0A= > +++ b/mk/rte.sdkinstall.mk=0A= > @@ -44,12 +44,14 @@ T=3D*=0A= > ifneq (,$(wildcard $(BUILD_DIR)/build/.config))=0A= > INCLUDE_DIR ?=3D /usr/include/dpdk=0A= > BIN_DIR ?=3D /usr/bin=0A= > +DOC_DIR ?=3D /usr/share/doc/dpdk=0A= > HSLINKS :=3D $(wildcard $(RTE_OUTPUT)/include/*)=0A= > BINARY_FILES :=3D $(patsubst %.map,,$(wildcard $(RTE_OUTPUT)/app/*))=0A= > NIC_FILES :=3D $(wildcard $(BUILD_DIR)/tools/*.py)=0A= > BINARY_FILES +=3D $(NIC_FILES)=0A= > LIBS :=3D $(wildcard $(RTE_OUTPUT)/lib/*)=0A= > MODULES :=3D $(wildcard $(RTE_OUTPUT)/kmod/*)=0A= > +DOCS :=3D $(wildcard $(BUILD_DIR)/doc/*)=0A= > include $(BUILD_DIR)/build/.config=0A= > RTE_ARCH :=3D $(CONFIG_RTE_ARCH:"%"=3D%)=0A= > RTE_EXEC_ENV :=3D $(CONFIG_RTE_EXEC_ENV:"%"=3D%)=0A= > @@ -148,6 +150,18 @@ install-mod:=0A= > echo installing: $$MOD; \=0A= > done=0A= > #=0A= > +# install documentation in /usr/share/doc/dpdk=0A= > +# bu default, DOC_DIR can be overriden.=0A= > +#=0A= =0A= small typo here (bu -> by)=0A= =0A= Regards,=0A= Olivier=0A=