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 1DC6BC310 for ; Fri, 8 Jan 2016 12:03:10 +0100 (CET) Received: from 1.general.mandel.uk.vpn ([10.172.196.172] helo=Weiknorze.fritz.box) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1aHUp3-0003DG-J3; Fri, 08 Jan 2016 11:03:09 +0000 From: Christian Ehrhardt To: dev@dpdk.org Date: Fri, 8 Jan 2016 12:03:01 +0100 Message-Id: <1452250981-5286-1-git-send-email-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] mk: Fix examples install 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: Fri, 08 Jan 2016 11:03:10 -0000 Depending on non-doc targets being built before and the setting of DESTDIR the copy of the examples dir being part of install-doc could in some cases fail with a non existant "$(DESTDIR)$(datadir)" target directory. Add the conditional rte_mkdir for that to avoid the issue. Signed-off-by: Christian Ehrhardt --- [diffstat] rte.sdkinstall.mk | 1 + 1 file changed, 1 insertion(+) [diff] diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index c159bf7..68e56b6 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -157,4 +157,5 @@ ifneq ($(wildcard $O/doc/*/*/*pdf),) $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir)/guides) $(Q)cp -a $O/doc/*/*/*pdf $(DESTDIR)$(docdir)/guides endif + $(Q)$(call rte_mkdir, $(DESTDIR)$(datadir)) $(Q)cp -a $(RTE_SDK)/examples $(DESTDIR)$(datadir)