aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libomxil/libomxil-0.9.3/makefile-docdir-fix.patch
blob: dbe8c41f74ae05856fd75e63a11e827bdaf4910e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This patch is to remove DESTDIR in docdir.
Otherwise, when users install by running `make install DESTDIR=/alternate/directory' specified in the file INSTALL, the doc will go into /alternate/directory/alternate/directory, which is not expected.

Upstream-Status: Pending

Signed-off-by: Shane Wang <shane.wang@intel.com>

diff -r 30b597e4e70d Makefile.am
--- a/Makefile.am	Wed Dec 28 15:38:35 2011 +0800
+++ b/Makefile.am	Wed Dec 28 15:39:25 2011 +0800
@@ -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