meson: rename conflicting target names

The update-man-rules and update-dbus-docs targets are both declared in the
main meson.build and man/meson.build, so we cannot build the target with
'meson compile' command:
====
$ meson compile update-man-rules
INFO: autodetecting backend as ninja

ERROR: Can't invoke target `update-man-rules`: ambiguous name.Add target type and/or path:
- ./man/update-man-rules:custom
- ./update-man-rules:run
====
Let's rename the targets declared in man/meson.build.
This commit is contained in:
Yu Watanabe 2023-03-03 14:54:21 +09:00
parent 26ab5ea69d
commit d2ec38e2b2

View File

@ -218,7 +218,7 @@ configure_file(
############################################################
update_dbus_docs = custom_target(
'update-dbus-docs',
'update-dbus-docs-impl',
output : 'update-dbus-docs',
command : [update_dbus_docs_py, '--build-dir', project_build_root, '@INPUT@'],
input : dbus_docs)
@ -232,7 +232,7 @@ if conf.get('BUILD_MODE_DEVELOPER') == 1
endif
update_man_rules = custom_target(
'update-man-rules',
'update-man-rules-impl',
output : 'update-man-rules',
command : [update_man_rules_py,
'@0@/man/*.xml'.format(project_source_root),