From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: [PATCH v3 2/8] mk: fix excluding .doctrees when installing docs Date: Fri, 23 Jun 2017 19:41:47 +0100 Message-ID: <20170623184153.24488-3-lboccass@brocade.com> References: <20170623181616.16981-1-lboccass@brocade.com> <20170623184153.24488-1-lboccass@brocade.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Luca Boccassi To: Return-path: Received: from mx0a-000f0801.pphosted.com (mx0b-000f0801.pphosted.com [67.231.152.113]) by dpdk.org (Postfix) with ESMTP id 9AAF55587 for ; Fri, 23 Jun 2017 20:43:34 +0200 (CEST) In-Reply-To: <20170623184153.24488-1-lboccass@brocade.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Luca Boccassi The --exclude parameter must be passed before the input directory to tar, otherwise it's silently ignored and the .doctrees directory is installed by make install-doc. Signed-off-by: Luca Boccassi --- mk/rte.sdkinstall.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index dbac2a277..4e97feff9 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -162,7 +162,7 @@ install-sdk: install-doc: ifneq ($(wildcard $O/doc/html),) $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir)) - $(Q)tar -cf - -C $O/doc html --exclude 'html/guides/.*' | \ + $(Q)tar -cf - -C $O/doc --exclude 'html/guides/.*' html | \ tar -xf - -C $(DESTDIR)$(docdir) --strip-components=1 \ --keep-newer-files endif -- 2.11.0