Re: build remaining Flex files standalone - Mailing list pgsql-hackers

From John Naylor
Subject Re: build remaining Flex files standalone
Date
Msg-id CAFBsxsGmdbPwp9vsW3ECpsatqmYXhgUMAXSjuYNzVbHr3k7i3g@mail.gmail.com
Whole thread Raw
In response to Re: build remaining Flex files standalone  (John Naylor <john.naylor@enterprisedb.com>)
Responses Re: build remaining Flex files standalone
List pgsql-hackers
On Fri, Sep 9, 2022 at 12:18 PM John Naylor
<john.naylor@enterprisedb.com> wrote:
>
> It seems gramparse.h isn't installed now? In any case, here's a patch
> to move gramparse to the backend dir and stop symlinking/ installing
> gram.h.

Looking more closely at src/include/Makefile, this is incorrect -- all
files in SUBDIRS are copied over. So moving gramparse.h to the backend
will automatically not install it. The explicit install rule for
gram.h was for vpath builds.

CI builds fine. For v2 I only adjusted the commit message. I'll push
in a couple days unless there are objections.
--
John Naylor
EDB: http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Refactor backup related code (was: Is it correct to say, "invalid data in file \"%s\"", BACKUP_LABEL_FILE in do_pg_backup_stop?)
Next
From: Daniel Gustafsson
Date:
Subject: Re: pg_upgrade generated files in subdir follow-up