Meson instructions in the documentation are incorrect
This is what the documentation suggests to add to the Meson build file:
blueprints = custom_target('blueprints',
input: files(
# LIST YOUR BLUEPRINT FILES HERE
),
output: '.',
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
)
The line output: '.'
causes all dependent targets to be rebuilt every time because Ninja checks the output directory time stamp.