Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4120 from stapelberg/meson-i3test
Browse files Browse the repository at this point in the history
add i3test_pm dependency after all
  • Loading branch information
orestisfl committed Jun 6, 2020
2 parents ff77b67 + ac53687 commit 50160eb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions meson.build
Expand Up @@ -611,13 +611,19 @@ 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',
input: ['testcases/lib/i3test.pm.in'],
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')
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 50160eb

Please sign in to comment.