[yocto] [PATCH 1/2] Fix Makefiles

Trevor Woerner twoerner at gmail.com
Thu Jan 5 09:14:13 PST 2012


On Wed, Jan 4, 2012 at 12:28 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On (28/12/11 14:54), Wang, Shane wrote:
>> 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.
>
> DESTDIR is supposed to relocate the install dir why is this wrong ?

Agree. Additionally, "make distcheck" will generally fail if there is
no DESTDIR.



More information about the yocto mailing list