bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] lib/readline/doc makefiles clean targets


From: Grisha Levit
Subject: Re: [PATCH] lib/readline/doc makefiles clean targets
Date: Mon, 18 Nov 2024 22:28:38 -0500

On Wed, Nov 13, 2024 at 11:13 AM Chet Ramey <chet.ramey@case.edu> wrote:
>
> On 11/12/24 7:18 PM, Grisha Levit wrote:
>
> > The latest change,
> >
> > +Makefile.in
> > + - y.tab.h: move from CREATED_HEADERS to INSTALLED_HEADERS so we don't
> > + clean it
> >
> > makes the install-headers target fail for an out-of-tree build since y.tab.h
> > is in $(BUILD_DIR) but INSTALLED_HEADERS are only looked for in $(srcdir)
>
> This is one of the differences between the distributions and the devel
> branch. y.tab.h is always in $(srcdir) in distributions, and the Makefiles
> accommodate them in favor of the devel branch.

Could we install INSTALLED_HEADERS the same way as CREATED_HEADERS are?
i.e. installing from $(BUILD_DIR) if it exists there and from $(srcdir)
if not?



reply via email to

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