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 <christian.ehrhardt@canonical.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
ff82e08aa3
commit
46812756f6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user