From: Yu Watanabe Date: Fri, 3 Mar 2023 05:54:21 +0000 (+0900) Subject: meson: rename conflicting target names X-Git-Tag: v254-rc1~1120^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2ec38e2b2d7baa374ffbd0f81f1183e78ce1ca6;p=thirdparty%2Fsystemd.git 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. --- diff --git a/man/meson.build b/man/meson.build index b7725ce5f0e..23819d03f5a 100644 --- a/man/meson.build +++ b/man/meson.build @@ -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),