meson html:alias vs. html:custom

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: meson html:alias vs. html:custom
Date: 2026-04-14 08:08:22
Message-ID: 5508e572-79ae-4b20-84d0-010a66d077f2@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When I run

meson compile -C build html

I get this error message:

INFO: autodetecting backend as ninja

ERROR: Can't invoke target `html`: ambiguous name. Add target type
and/or path:
- ./doc/src/sgml/html:custom
- ./doc/src/sgml/html:alias

If I follow that advice and run meson compile -C build html:alias or
html:custom, then it works.

The setup in doc/src/sgml/meson.build is

html = custom_target('html', ...)

alias_target('html', html)

If I remove the alias_target, then my original command works. What is
the purpose of this alias?

(The equivalent problem exists for "man".)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2026-04-14 08:09:42 Re: Support EXCEPT for TABLES IN SCHEMA publications
Previous Message wenhui qiu 2026-04-14 07:58:51 Re: Propagate stadistinct through GROUP BY/DISTINCT in subqueries and CTEs