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>
This commit is contained in:
parent
566858f6a1
commit
ba781d347c
24
package/bellagio/0005-fix-doc-installation-path.patch
Normal file
24
package/bellagio/0005-fix-doc-installation-path.patch
Normal file
|
@ -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
|
Loading…
Reference in a new issue