Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread Dagfinn Ilmari Mannsåker
Andres Freund writes: > Hi, > > On 2024-05-09 20:53:27 +0100, Dagfinn Ilmari Mannsåker wrote: >> Andres Freund writes: >> > On 2024-05-09 20:12:38 +0100, Dagfinn Ilmari Mannsåker wrote: >> >> Attached is a patch which adds a check-docs target for meson, which >> >> takes 0.3s on my laptop. >>

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread David G. Johnston
On Thu, May 9, 2024 at 1:16 PM Andres Freund wrote: > Hi, > > On 2024-05-09 09:23:37 -0700, David G. Johnston wrote: > > This needs updating: > > https://www.postgresql.org/docs/current/docguide-build-meson.html > > You mean it should have a syntax target? Or that something else is out of >

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread Andres Freund
Hi, On 2024-05-09 20:53:27 +0100, Dagfinn Ilmari Mannsåker wrote: > Andres Freund writes: > > On 2024-05-09 20:12:38 +0100, Dagfinn Ilmari Mannsåker wrote: > >> Attached is a patch which adds a check-docs target for meson, which > >> takes 0.3s on my laptop. > >> +checkdocs =

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread Andres Freund
Hi, On 2024-05-09 09:23:37 -0700, David G. Johnston wrote: > This needs updating: > https://www.postgresql.org/docs/current/docguide-build-meson.html You mean it should have a syntax target? Or that something else is out of date? > Also, as a sanity check, running that command takes my system

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread Dagfinn Ilmari Mannsåker
Andres Freund writes: > Hi, > > On 2024-05-09 20:12:38 +0100, Dagfinn Ilmari Mannsåker wrote: >> Attached is a patch which adds a check-docs target for meson, which >> takes 0.3s on my laptop. > > Nice. > > >> +checkdocs = custom_target('check-docs', >> + input: 'postgres.sgml', >> + output:

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread David G. Johnston
On Thu, May 9, 2024 at 12:12 PM Dagfinn Ilmari Mannsåker wrote: > "David G. Johnston" writes: > > > I've been using "ninja html" which isn't shown here. > > The /devel/ version has a link to the full list of doc targets: > > >

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread Andres Freund
Hi, On 2024-05-09 20:12:38 +0100, Dagfinn Ilmari Mannsåker wrote: > Attached is a patch which adds a check-docs target for meson, which > takes 0.3s on my laptop. Nice. > +checkdocs = custom_target('check-docs', > + input: 'postgres.sgml', > + output: 'check-docs', > + depfile:

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread Dagfinn Ilmari Mannsåker
"David G. Johnston" writes: > $subject > > Make has one: > https://www.postgresql.org/docs/current/docguide-build.html#DOCGUIDE-BUILD-SYNTAX-CHECK > > This needs updating: > https://www.postgresql.org/docs/current/docguide-build-meson.html > > I've been using "ninja html" which isn't shown here.

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread Dagfinn Ilmari Mannsåker
"David G. Johnston" writes: > $subject > > Make has one: > https://www.postgresql.org/docs/current/docguide-build.html#DOCGUIDE-BUILD-SYNTAX-CHECK > > This needs updating: > https://www.postgresql.org/docs/current/docguide-build-meson.html > > I've been using "ninja html" which isn't shown here.

Re: Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread Tom Lane
"David G. Johnston" writes: > I've been using "ninja html" which isn't shown here. Also, as a sanity > check, running that command takes my system 1 minute. Any idea what > percentile that falls into? On my no-longer-shiny-new workstation, "make" in doc/src/sgml (which builds just the HTML

Is there an undocumented Syntax Check in Meson?

2024-05-09 Thread David G. Johnston
$subject Make has one: https://www.postgresql.org/docs/current/docguide-build.html#DOCGUIDE-BUILD-SYNTAX-CHECK This needs updating: https://www.postgresql.org/docs/current/docguide-build-meson.html I've been using "ninja html" which isn't shown here. Also, as a sanity check, running that