]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: drop remaining target names
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 4 Oct 2025 16:05:47 +0000 (18:05 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 4 Oct 2025 16:13:27 +0000 (18:13 +0200)
Most of those were dropped in 7d247d3cb875e1778e6cc81dbf255b13092b29e0. I left
behind the few cases where the 'output' name was different from the target name.
But we actually don't need those either, so get rid of those. (And one case
where I missed the name argument.)

No functional change, except that e.g. 'ninja -C build update-man-rules-impl'
doesn't work, but I hope nobody was using that.

man/meson.build
meson.build
units/user/meson.build

index b9ec41229316dc47a70913cf480c228b5d156383..8a5b446f2440c10399743ee44ffce48d8e2b8e99 100644 (file)
@@ -217,7 +217,6 @@ configure_file(
 ############################################################
 
 update_dbus_docs = custom_target(
-        'update-dbus-docs-impl',
         output : 'update-dbus-docs',
         command : [update_dbus_docs_py, '--build-dir', meson.project_build_root(), '@INPUT@'],
         input : dbus_docs,
@@ -237,7 +236,6 @@ if conf.get('BUILD_MODE_DEVELOPER') == 1
 endif
 
 update_man_rules = custom_target(
-        'update-man-rules-impl',
         output : 'update-man-rules',
         command : [update_man_rules_py,
                    '@0@/man/*.xml'.format(meson.project_source_root()),
index 33616d4ff544535d5947f8b9d6616b151699ea4e..9ffc844dc618dccfc56ea82fdad2b246b75ab5c0 100644 (file)
@@ -2743,11 +2743,11 @@ foreach executable : ['systemd-journal-remote', 'systemd-sbsign', 'systemd-keyut
 endforeach
 
 if mkosi.found()
-        custom_target('mkosi',
+        custom_target(
                 build_always_stale : true,
                 build_by_default: false,
                 console : true,
-                output : '.',
+                output : 'mkosi',
                 command : [
                         mkosi,
                         '--directory', meson.current_source_dir(),
index 7f04cf191cb3de805cf4cb0fa23b81ef706aa670..8ad3f0eb7617749c73bea9172695d461d7255d3b 100644 (file)
@@ -82,7 +82,6 @@ foreach unit : units
 
         if needs_jinja
                 t = custom_target(
-                        name,
                         input : source,
                         output : name,
                         command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],