bug-make
[Top][All Lists]
Advanced

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

Re: [doc] MAKEOVERRIDES is undocumented


From: Alejandro Colomar
Subject: Re: [doc] MAKEOVERRIDES is undocumented
Date: Mon, 19 Dec 2022 19:53:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

Hi Dmitry,

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).

Cheers,

Alex


regards, Dmitry

--
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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