Re: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
Date
Msg-id 1118.1538056039@sss.pgh.pa.us
Whole thread Raw
In response to BUG #15407: [minor] build depends on $MAKELEVEL being 0 at topMakefile  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> We build postgresql as part of a larger runtime environment, and if the
> top-level make is invoked from an existing, other Makefile (i.e., with
> $MAKELEVEL set), the build fails like this:
> ...
> Workaround for us was to use
>   MAKELEVEL=0 $(MAKE)
> instead.

Yeah, this is now documented, near the bottom of the "2. Build" step at
https://www.postgresql.org/docs/11/static/install-procedure.html

It should be harmless to do that for pre-11 versions too.

            regards, tom lane


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15408: Postgresql bad planning with multicolumn gist and searchwith empty results
Next
From: Tom Lane
Date:
Subject: Re: BUG #15408: Postgresql bad planning with multicolumn gist and search with empty results