meson: use custom configuration_data() object for man/man and man/html helpers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 May 2021 13:43:41 +0000 (15:43 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 19 May 2021 01:24:43 +0000 (10:24 +0900)
commit195a8a93278632ca114c622366524f688ecc609a
treebd5b9465c00ff2e53a5eca55e4b79a4022417079
parent44ff8df77748124eb5c5f257eb585e9da26225d8
meson: use custom configuration_data() object for man/man and man/html helpers

I want to stop using 'substs'. But in this case, configure_file() is nicer
than custom_target(), because it causes meson to immediately generate the
helpers after configuration, so it's possible to do
'meson build && build/man/man ...', without building anything first.

We only substitute one variable here, so let's use a custom configuration_data()
object.
man/meson.build
meson.build