1 Description: mk: fix excluding .doctrees when installing docs
3 The --exclude parameter must be passed before the input directory to
4 tar, otherwise it's silently ignored and the .doctrees directory is
5 installed by make install-doc.
7 Origin: http://dpdk.org/dev/patchwork/patch/25674/
9 Author: Luca Boccassi <luca.boccassi@gmail.com>
10 Last-Update: 2017-06-24
12 mk/rte.sdkinstall.mk | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk
16 index dbac2a277..4e97feff9 100644
17 --- a/mk/rte.sdkinstall.mk
18 +++ b/mk/rte.sdkinstall.mk
19 @@ -162,7 +162,7 @@ install-sdk:
21 ifneq ($(wildcard $O/doc/html),)
22 $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir))
23 - $(Q)tar -cf - -C $O/doc html --exclude 'html/guides/.*' | \
24 + $(Q)tar -cf - -C $O/doc --exclude 'html/guides/.*' html | \
25 tar -xf - -C $(DESTDIR)$(docdir) --strip-components=1 \