aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch')
-rw-r--r--debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch b/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch
new file mode 100644
index 00000000..52c78a75
--- /dev/null
+++ b/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch
@@ -0,0 +1,25 @@
+Description: mk: fix excluding .doctrees 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.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25674/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-24
+---
+ mk/rte.sdkinstall.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/mk/rte.sdkinstall.mk
++++ b/mk/rte.sdkinstall.mk
+@@ -169,7 +169,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) $(TAR_X_FLAGS)
+ endif
+ ifneq ($(wildcard $O/doc/*/*/*pdf),)