]> git.droids-corp.org - dpdk.git/blobdiff - mk/rte.sdkinstall.mk
mk: fix install-doc without html
[dpdk.git] / mk / rte.sdkinstall.mk
index 004b38b2b345e715adbba85ba7a1909b5daf8fdf..7b0d8b52113863430cf286df61927406a79cfbc7 100644 (file)
@@ -164,7 +164,7 @@ install-sdk:
        $(Q)$(call rte_symlink, $(DESTDIR)$(libdir),     $(DESTDIR)$(targetdir)/lib)
 
 install-doc:
-ifneq ($(wildcard $O/doc),)
+ifneq ($(wildcard $O/doc/html),)
        $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir))
        $(Q)tar -cf -      -C $O/doc html --exclude 'html/guides/.*' | \
            tar -xf -      -C $(DESTDIR)$(docdir) --strip-components=1 \