Linux API Headers

Bruce Dubbs bruce.dubbs at gmail.com
Sun Oct 26 12:28:11 PDT 2008


Randy McMurchy wrote:
> Bruce Dubbs wrote these words on 10/26/08 14:12 CST:
>> Why do we do:
>>
>> make INSTALL_HDR_PATH=dest headers_install
>> cp -rv dest/include/* /usr/include
>>
>> instead of:
>>
>> make INSTALL_HDR_PATH=/usr/include headers_install
> 
> I just asked that question a week ago! (and was answered)

Missed it.

> Anyway, it's because the headers_install process first completely
> removes everything in the target directory which would wipe out
> the stuff that is in there in Chapter 5.

OK.  I'll add a sentence to explain that.

> In Chapter 6 we could actually change it to go straight to
> /usr/include as there should be no files in there at the time
> of the headers install.

OK.

Thanks.

   -- Bruce




More information about the lfs-dev mailing list