From ac5368770e964802243fca48dc8793d86b7e6ffd Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 6 Jun 2020 13:45:52 +0200 Subject: [PATCH] add i3test_pm dependency after all I suppose the now-conditional docs building had previously pulled in i3test_pm implicitly. related to #4086 --- meson.build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 0ca0d4130..f52949360 100644 --- a/meson.build +++ b/meson.build @@ -611,6 +611,9 @@ complete_run = custom_target( output: ['complete-run.pl'], capture: true, command: replace_dirs, + # build this target when running e.g. ninja or ninja test. + # This is required for older meson versions (< 0.46.0). + build_by_default: true, ) i3test_pm = custom_target( 'i3test-pm', @@ -618,6 +621,9 @@ i3test_pm = custom_target( output: ['i3test.pm'], capture: true, command: replace_dirs, + # build this target when running e.g. ninja or ninja test. + # This is required for older meson versions (< 0.46.0). + build_by_default: true, ) if get_option('docs') @@ -694,9 +700,8 @@ if meson.version().version_compare('>=0.46.0') perl, args: [complete_run], depends: [ - # i3test.pm is generated at meson configure time, - # so no explicit dependency is required. anyevent_i3, + i3test_pm, ], ) else