b658d263363460a5c6b5e0176d3aa3515203c1a7
[deb_dpdk.git] / debian / patches / mk-fix-excluding-.doctrees-when-installing-docs.patch
1 Description: mk: fix excluding .doctrees when installing docs
2
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.
6
7 Origin: http://dpdk.org/dev/patchwork/patch/25632/
8 Forwarded: yes
9 Author: Luca Boccassi <luca.boccassi@gmail.com>
10 Last-Update: 2017-06-22
11 ---
12  mk/rte.sdkinstall.mk | 2 +-
13  1 file changed, 1 insertion(+), 1 deletion(-)
14
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:
20  install-doc:
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 \
26                 --keep-newer-files
27  endif
28 -- 
29 2.11.0
30