@kugel- commented on this pull request.
- custom_target('doxygen.stamp',
+ input: dox, + output: ['doxygen.stamp'], + command: [doxygen, '@INPUT@', '&&', 'touch', '@OUTPUT@'], + depends: libgeany, + build_by_default: true) + doxy_xml = custom_target('doxygen-gi.stamp', + input: doxgi, + output: ['doxygen-gi.stamp'], + command: [doxygen, '@INPUT@', '&&', 'touch', '@OUTPUT@'], + depends: libgeany, + build_by_default: true) + custom_target('gtkdoc headers', + input : [doxy_xml], + output: ['geany-gtkdoc.h', 'geany-sciwrappers-gtkdoc.h'], + command: [python, '../scripts/gen-api-gtkdoc.py', join_paths(meson.current_build_dir(), 'xml'), '-d', '.', '-o', '@OUTPUT0@', '--sci-output', '@OUTPUT1@'],
I thought `../scripts/gen-api-gtkdoc.py` would be relative to the `doc/` folder where this meson.build is located. But for commands it seems to be relative to the build directory.
I also do 'install_data("../scintilla/…")` further down in the same meson.build and that seems to work.