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 --- a/mk/rte.sdkinstall.mk
16 +++ b/mk/rte.sdkinstall.mk
17 @@ -169,7 +169,7 @@ install-sdk:
19 ifneq ($(wildcard $O/doc/html),)
20 $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir))
21 - $(Q)tar -cf - -C $O/doc html --exclude 'html/guides/.*' | \
22 + $(Q)tar -cf - -C $O/doc --exclude 'html/guides/.*' html | \
23 tar -xf - -C $(DESTDIR)$(docdir) $(TAR_X_FLAGS)
25 ifneq ($(wildcard $O/doc/*/*/*pdf),)