[PATCH 2/2] Makefile export libraries headers

Corentin Chary corentin.chary at gmail.com
Fri Dec 19 14:42:57 EST 2008


On Fri, Dec 19, 2008 at 7:21 PM, Mike Frysinger <vapier.adi at gmail.com> wrote:
> On Fri, Dec 19, 2008 at 04:29, Corentin Chary wrote:
>>>> +       for i in $(addsuffix .h, $(LIBS)); do \
>>>> +               [ -f include/$$i ] &&  install -m 0755 include/$$i  ${DESTDIR}/${LIBDIR}/; \
>>>> +       done
>>>
>>> you're installing headers into /usr/lib/ ?  that doesnt make any sense ...
>>
>> /LIBDIR/INCLUDEDIR/s
>
> well that change doesnt make sense either as you changed INCLUDEDIR to
> "/include" ... i'm guessing you'll want to revert that too :)
> -mike
>

with DESTDIR=/usr/local -> /usr/local/include
with DESTDIR=/usr -> /usr/include

So it seems ok to me.

-- 
Corentin Chary
http://xf.iksaif.net



More information about the linux-mtd mailing list