[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [doc] MAKEOVERRIDES is undocumented
From: |
Dmitry Goncharov |
Subject: |
Re: [doc] MAKEOVERRIDES is undocumented |
Date: |
Mon, 19 Dec 2022 21:57:43 -0500 |
On Mon, Dec 19, 2022 at 1:54 PM Alejandro Colomar
<alx.manpages@gmail.com> wrote:
> That would render the $(includedir) variable unusable for use within the
> Makefile (for example, within targets that install the header files).
We can introduce another variable, e.g. myincludedir and initialize it
with the expanded value of includedir and use myincludedir within the
makefile.
includedir:=$${prefix}/include
$(eval myincludedir:=$(includedir))
myconfig.pc:; @echo 'includedir=$(includedir)' >> myconfig.pc
regards, Dmitry
- [doc] MAKEOVERRIDES is undocumented, Alejandro Colomar, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Jeffrey Walton, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Alejandro Colomar, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Paul Smith, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Jeffrey Walton, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Dmitry Goncharov, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Alejandro Colomar, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Jeffrey Walton, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Dmitry Goncharov, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Alejandro Colomar, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented,
Dmitry Goncharov <=
- Re: [doc] MAKEOVERRIDES is undocumented, Alejandro Colomar, 2022/12/19
Re: [doc] MAKEOVERRIDES is undocumented, Paul Smith, 2022/12/19