[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 11:23:49 -0500 |
On Mon, Dec 19, 2022 at 11:22 AM Paul Smith <psmith@gnu.org> wrote:
>
> On Mon, 2022-12-19 at 10:57 -0500, Jeffrey Walton wrote:
> > ifeq ($(includedir),)
> > includedir := $(prefix)/include
> > PC_INCLUDEDIR = $${prefix}/include
> > else
> > PC_INCLUDEDIR = $(includedir)
> > endif
>
> Maybe I'm misunderstanding some subtlety here but why not just:
>
> includedir := $(prefix)/include
> PC_INCLUDEDIR = $(includedir)
For the *.pc file, we need '$(prefix)' to survive unexpanded.
Jeff
- [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 <=
- 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, 2022/12/19
- Re: [doc] MAKEOVERRIDES is undocumented, Alejandro Colomar, 2022/12/19
Re: [doc] MAKEOVERRIDES is undocumented, Paul Smith, 2022/12/19