@kugel- commented on this pull request.


In doc/meson.build:

> +    dep_doxygen = declare_dependency(sources: ['plugins.dox',
+                                               'pluginsignals.c',
+                                               'pluginsymbols.c',
+                                               'stash-example.c',
+                                               'stash-gui-example.c'])
+
+    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@'],

You can just list the files directly as custom_target depends:

No, I can't :(
depends: [files(…), libgeany],
-> ERROR: custom_target keyword argument 'depends' was of type array[File | SharedLibrary] but should have been array[BuildTarget | CustomTarget]

I'm also unable to specify the extra C files as input
input: [doxyfile_gi] + files(…),
-> [2/14] /usr/bin/sh -c 'doxygen @INPUT0@ && touch doc/doxygen.stamp'

(INPUT0 should just use the first input file)


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/2761/review/860385620@github.com>