summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-29 14:31:58 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-29 14:31:58 +0200
commitba781d347ca56f723786275f5c2b5172f7cf6ccb (patch)
tree9a3a3cc51b0d504effb600e7d1001ef292b23a79
parent566858f6a1d65dda466942e4c84e40e3ce95e06f (diff)
downloadbuildroot-ba781d347ca56f723786275f5c2b5172f7cf6ccb.tar.gz
buildroot-ba781d347ca56f723786275f5c2b5172f7cf6ccb.zip
bellagio: add patch to fix installation path of documentation
Fixes: http://autobuild.buildroot.net/results/c026551c6b3483d98dd2507c7529a0be8ff79007/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/bellagio/0005-fix-doc-installation-path.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/bellagio/0005-fix-doc-installation-path.patch b/package/bellagio/0005-fix-doc-installation-path.patch
new file mode 100644
index 0000000000..06b0743e26
--- /dev/null
+++ b/package/bellagio/0005-fix-doc-installation-path.patch
@@ -0,0 +1,24 @@
+Makefile.am: fix bogus docdir definition
+
+The definition of the docdir variable uses $(DESTDIR). However,
+automake already prefixes all *dir variables automatically with
+DESTDIR, which causes the documentation to be installed in
+$(DESTDIR)/$(DESTDIR)/usr/share/doc/...
+
+Fix this by removing the $(DESTDIR) part of the docdir definition.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: b/Makefile.am
+===================================================================
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -7,7 +7,7 @@
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = libomxil-bellagio.pc
+
+-docdir = $(DESTDIR)$(prefix)/share/doc/@PACKAGE@
++docdir = $(prefix)/share/doc/@PACKAGE@
+ doc_DATA = README \
+ ChangeLog \
+ TODO
OpenPOWER on IntegriCloud