mk: fix examples install
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Fri, 8 Jan 2016 11:03:01 +0000 (12:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 19 Jan 2016 08:18:26 +0000 (09:18 +0100)
commit46812756f60a043bc31df9488e3640028081b1e5
tree5af3164d5a832a537b759bbb43361656d183e79d
parentff82e08aa3c3e888b650ca78d3b177298ab56ebd
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>
mk/rte.sdkinstall.mk