Dear Nazir,
> I think we might be using different meson versions, which could
> explain the difference. I am currently using meson v1.7.0.
I verified on my two environments, and both could work as expected.
Your patch was applied then doc/src/sgml/meson.build was updated
from the HEAD.
Almalinux 9:
```
$ meson -v
0.63.3
$ ninja clean && meson test --suite doc
[2/2] Cleaning
Cleaning... 8 files.
ninja: Entering directory `/home/hayato/builddir'
[8/8] Generating doc/src/sgml/postgres-full.xml with a custom command
1/1 postgresql:doc / doc/sgml_syntax_check OK 0.39s
Ok: 1
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/hayato/builddir/meson-logs/testlog.txt
```
Ubuntsu 24.04 LTS
```
$ meson -v
1.3.2
$ ninja clean && meson test --suite doc
[2/2] Cleaning
Cleaning... 8 files.
ninja: Entering directory `/home/hayato/builddir'
[8/8] Generating doc/src/sgml/postgres-full.xml with a custom command
1/1 postgresql:doc / doc/sgml_syntax_check OK 0.50s
Ok: 1
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/hayato/builddir/meson-logs/testlog.txt
```
As Álvaro pointed out [1], I also think there should be a way to build some
needed items.
[1]: https://www.postgresql.org/message-id/202602161234.ujd6lsyxxnh4%40alvherre.pgsql
Best regards,
Hayato Kuroda
FUJITSU LIMITED