meson: use alias_target for doc update commands
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 27 Jul 2021 18:11:41 +0000 (20:11 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 27 Jul 2021 18:34:40 +0000 (20:34 +0200)
commitf12c5d36a9a162f833987b03fbf0b65248581cbb
tree392b132aeb58d7dae10b00c97f3c0085dc93ab88
parent6839ce3318dc200c42d43ea06ecd94cb118b3c00
meson: use alias_target for doc update commands

This undoes part of 4c890ad3cc7b3445683d7b52bc00e4a58bef5e94: the
implementations of update-dbus-docs and update-man-rules are moved back to
man/meson.build, and alias_target() is used to keep the visible target names
unchanged.

The rules for man pages are reworked so that it's possible to invoke the
targets even if xstlproc is not available. After all, xsltproc is only needed
for the final formatted output, and not other processing.
man/meson.build
meson.build