Re: pgsql: meson: add install-{quiet, world} targets - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: meson: add install-{quiet, world} targets
Date
Msg-id 20230325180310.o6drykb3uz4u4x4r@awork3.anarazel.de
Whole thread Raw
In response to Re: pgsql: meson: add install-{quiet, world} targets  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: pgsql: meson: add install-{quiet, world} targets  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-committers
Hi,

On 2023-03-25 12:51:32 -0500, Justin Pryzby wrote:
> On Fri, Mar 24, 2023 at 04:30:52AM +0000, Andres Freund wrote:
> > meson: add install-{quiet, world} targets
> 
>  if docs.length() == 0
>    run_target('docs', command: [missing, 'xsltproc'])
>  else
>    alias_target('docs', docs)
> +  alias_target('install-docs', installdocs)
>  endif
> 
> This fails to handle installdocs.length() == 0

You mean in the sense of causing a failure in meson, or not providing the
install-docs target? For the latter: Yea. I wasn't sure what the behaviour
we'd want there. Should install-docs succeed if we don't have any of the
tools?  There's also an subdir_done() earlier on that we should probably
remove...

Greetings,

Andres Freund



pgsql-committers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: pgsql: meson: add install-{quiet, world} targets
Next
From: Justin Pryzby
Date:
Subject: Re: pgsql: meson: add install-{quiet, world} targets