meson: clean up unnecessary variables

The `manpage_target` variable isn't used at all, and the `manpage_path` variable is only used in a single location. Remove the former variable and inline the latter. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Patrick Steinhardt committed Jul 9, 2025 at 08:23 UTC e69b3b367fb6217b8d43ef8348dff82aabbba5e2
1 file changed +2 -3
Documentation/meson.build
+2 -3
@@ -375,8 +375,7 @@ foreach manpage, category : manpages
375 output: fs.stem(manpage) + '.xml',
376 )
377
378 - manpage_path = fs.stem(manpage) + '.' + category.to_string()
379 - manpage_target = custom_target(
378 + custom_target(
379 command: [
380 xmlto,
381 '-m', '@INPUT0@',
@@ -392,7 +391,7 @@ foreach manpage, category : manpages
391 'manpage-normal.xsl',
392 'manpage-bold-literal.xsl',
393 ],
395 - output: manpage_path,
394 + output: fs.stem(manpage) + '.' + category.to_string(),
395 install: true,
396 install_dir: get_option('mandir') / 'man' + category.to_string(),
397 )