bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [doc] MAKEOVERRIDES is undocumented


From: Jeffrey Walton
Subject: Re: [doc] MAKEOVERRIDES is undocumented
Date: Mon, 19 Dec 2022 14:32:32 -0500

On Mon, Dec 19, 2022 at 1:53 PM Alejandro Colomar
<alx.manpages@gmail.com> wrote:
>
> On 12/19/22 19:18, Dmitry Goncharov wrote:
> > On Mon, Dec 19, 2022 at 11:24 AM Jeffrey Walton <noloader@gmail.com> wrote:
> >> For the *.pc file, we need '$(prefix)' to survive unexpanded.
> >
> > What about
> > includedir:=$${prefix}/include
> > myconfig.pc:; @echo 'includedir=$(includedir)' >> myconfig.pc
>
> That would render the $(includedir) variable unusable for use within the
> Makefile (for example, within targets that install the header files).

Yep, that's why we track both includedir and pc_includedir.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]