pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: meson: docs: Add {html,man} targets, rename install-doc-*
Date: Fri, 1 Dec 2023 09:04:19 -0500
Message-ID: <ae3b453e-a6be-3b9f-a8fe-a885d5d2795c@dunslane.net> (raw)
In-Reply-To: <703110e4-b495-e409-26a5-28e9fca8f3a5@dunslane.net>
References: <E1r5Fwj-006RcU-Sh@gemulon.postgresql.org>
	<746ba786-85bb-d1f7-b613-57bec35c642a@dunslane.net>
	<20231129022843.6vfvgxjqpbgb62p5@awork3.anarazel.de>
	<703110e4-b495-e409-26a5-28e9fca8f3a5@dunslane.net>


On 2023-11-29 We 07:20, Andrew Dunstan wrote:
>
> On 2023-11-28 Tu 21:28, Andres Freund wrote:
>> Hi,
>>
>> On 2023-11-23 08:32:21 -0500, Andrew Dunstan wrote:
>>> On 2023-11-20 Mo 20:53, Andres Freund wrote:
>>>> meson: docs: Add {html,man} targets, rename install-doc-*
>>>>
>>>> We have toplevel html, man targets in the autoconf build as well. 
>>>> It'd be odd
>>>> to have an 'html' target but have the install target be 
>>>> 'install-doc-html',
>>>> thus rename the install targets to match.
>>>
>>> This commit of one of its nearby friends appears to have broken 
>>> crake's docs
>>> build:
>>>
>>> ERROR: Can't invoke target `html`: ambiguous name.Add target type 
>>> and/or path:
>>> - ./doc/src/sgml/html:custom
>>> - ./doc/src/sgml/html:alias
>>>
>>> See<https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2023-11-23%2012%3A52%3A04; 
>>>
>> Ah, I realize now that this is from meson compile html, not 'ninja 
>> html'. That
>> explains why I couldn't reproduce this initially and why CI didn't 
>> complain.
>> I don't really understand why meson compile complains in this case.  
>> I assume
>> you don't want to disambiguate as suggested, by building html:alias 
>> instead?
>>
>
> I've done that as a temporary fix to get crake out of the hole, but 
> it's pretty ugly, and I don't want to do it in a release if at all 
> possible.


and doing this has broken the docs build for release 16.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com






view thread (14+ messages)  latest in thread

Message-ID: <ae3b453e-a6be-3b9f-a8fe-a885d5d2795c@dunslane.net>
Permalink:  ../ae3b453e-a6be-3b9f-a8fe-a885d5d2795c@dunslane.net/
Also on:    postgresql.org/message-id/ae3b453e-a6be-3b9f-a8fe-a885d5d2795c@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: meson: docs: Add {html,man} targets, rename install-doc-*
  In-Reply-To: <ae3b453e-a6be-3b9f-a8fe-a885d5d2795c@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox