From b493a2aa6a2d71e303e8fbd52cb17858afd07db7 Mon Sep 17 00:00:00 2001 From: userwithuid Date: Wed, 9 Aug 2017 13:41:44 +0000 Subject: build-sys: fix invalid args detected by meson 0.42 (#6561) some run_target() calls were using params from custom_target() example message: WARNING: Passed invalid keyword argument "input". This will become a hard error in the future. New way to call targets: ninja man/man ninja man/html ninja man/update-man-rules --- man/meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/meson.build b/man/meson.build index 8fdb512f6..ea1227f2c 100644 --- a/man/meson.build +++ b/man/meson.build @@ -178,10 +178,10 @@ man = custom_target( depends : man_pages, command : ['echo']) -html = run_target( +html = custom_target( 'html', - depends : html_pages, output : 'html', + depends : html_pages, command : ['echo']) #if 0 /// UNNEEDED in elogind @@ -201,8 +201,9 @@ html = run_target( ############################################################ if git.found() - run_target( + custom_target( 'update-man-rules', + output : 'update-man-rules', # slightly strange syntax because of # https://github.com/mesonbuild/meson/issues/1643 # and https://github.com/mesonbuild/meson/issues/1512 -- cgit v1.2.3