summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-06-23 19:41:47 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-06-27 01:16:22 +0200
commit68918a3b1c03b642dfdcf13568790de55982e64c (patch)
treefe00878df988929af64b865800991ecdbb394000
parente4726cbfa9b090f03f1d283e6e19e43bfb6f19c5 (diff)
downloaddpdk-68918a3b1c03b642dfdcf13568790de55982e64c.zip
dpdk-68918a3b1c03b642dfdcf13568790de55982e64c.tar.gz
dpdk-68918a3b1c03b642dfdcf13568790de55982e64c.tar.xz
mk: fix excluding files when installing docs
The --exclude parameter must be passed before the input directory to tar, otherwise it's silently ignored and the .doctrees directory is installed by make install-doc. Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com> Acked-by: John McNamara <john.mcnamara@intel.com>
-rw-r--r--mk/rte.sdkinstall.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk
index dbac2a2..4e97fef 100644
--- a/mk/rte.sdkinstall.mk
+++ b/mk/rte.sdkinstall.mk
@@ -162,7 +162,7 @@ install-sdk:
install-doc:
ifneq ($(wildcard $O/doc/html),)
$(Q)$(call rte_mkdir, $(DESTDIR)$(docdir))
- $(Q)tar -cf - -C $O/doc html --exclude 'html/guides/.*' | \
+ $(Q)tar -cf - -C $O/doc --exclude 'html/guides/.*' html | \
tar -xf - -C $(DESTDIR)$(docdir) --strip-components=1 \
--keep-newer-files
endif