[yocto] [PATCH 1/2] Fix Makefiles

Wang, Shane shane.wang at intel.com
Wed Dec 28 06:54:05 PST 2011


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.

Signed-off-by: Shane Wang <shane.wang at 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

--
Shane

http://www.yoctoproject.org/ 
It's not an embedded Linux distribution -
It creates a custom one for you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile-docdir-fix.patch
Type: application/octet-stream
Size: 658 bytes
Desc: makefile-docdir-fix.patch
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20111228/3063491b/attachment.obj>


More information about the yocto mailing list