From: Christian Ehrhardt Date: Fri, 8 Jan 2016 11:03:01 +0000 (+0100) Subject: mk: fix examples install X-Git-Tag: spdx-start~7683 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=46812756f60a043bc31df9488e3640028081b1e5;p=dpdk.git mk: fix examples install 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 existent "$(DESTDIR)$(datadir)" target directory. Add the conditional rte_mkdir for that to avoid the issue. Signed-off-by: Christian Ehrhardt Acked-by: Thomas Monjalon --- diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index c159bf7cb7..68e56b68e6 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)