[Github-comments] [geany/geany] WIP: Meson build system (#2761)

Thomas Martitz notifications at xxxxx
Sun Jan 23 21:52:03 UTC 2022


@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.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2761#discussion_r790335479
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/2761/review/860376205 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220123/d3502256/attachment.htm>


More information about the Github-comments mailing list