I cannot run Doxygen through Meson's configuration.
This is the related code in meson.build
:
doxygen = find_program('doxygen')
...
run_target('docs', command : 'doxygen ' + meson.source_root() + '/Doxyfile')
The doxygen executable is successfully found:
Program doxygen found: YES (/usr/bin/doxygen)
However, when launched, I get this error message:
[0/1] Running external command docs.
Could not execute command "doxygen /home/project/Doxyfile". File not found.
FAILED: meson-docs
Running it manually from the command line it works:
/usr/bin/doxygen /home/project/Doxyfile
doxygen /home/project/Doxyfile
What is wrong in my meson.build
configuration?