diff options
author | Jens Georg <mail@jensge.org> | 2022-03-12 17:39:09 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-03-12 17:39:09 +0100 |
commit | 1daf3e26020531291399cb3299ae39f53a354798 (patch) | |
tree | 7a056f44fb0b46150ed9e3bfa41bab903bf14eb4 /doc | |
parent | 6c5c2f2bfe95babd500970d7f45daecc7f71a73e (diff) | |
download | gupnp-1daf3e26020531291399cb3299ae39f53a354798.tar.gz |
doc: Fix build using subdirs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build index 701b845..c227112 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -21,7 +21,13 @@ if get_option('gtk_doc') configuration: entities ) - docs_dir = join_paths(get_option('prefix'), get_option('datadir')) / 'doc/gupnp-1.2/reference' + docs_dir = join_paths(get_option('prefix'), get_option('datadir')) / 'doc' / GUPNP_API_NAME / 'reference' + + if gssdp_dep.type_name() == 'internal' + gssdp_gir_dirs = subproject('gssdp-1.6').get_variable('gssdp_gir_dir') + else + gssdp_gir_dirs = '' + endif custom_target( 'gupnp-doc', @@ -32,6 +38,7 @@ if get_option('gtk_doc') 'generate', '--quiet', '--add-include-path=@0@'.format(meson.current_build_dir() / '../libgupnp'), + '--add-include-path=@0@'.format(gssdp_gir_dirs), '--config', gupnp_toml, '--output-dir=@OUTPUT@', '--no-namespace-dir', |