diff options
author | David Robillard <d@drobilla.net> | 2022-12-04 19:23:57 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-08 19:08:53 -0500 |
commit | 95c1033b7c805da8c2bc69f6f43277008a5980b5 (patch) | |
tree | 6d5df1465e08970f89cfe363bbbfd4f05ba43e78 /doc/c | |
parent | 36fd5599e7c67f9d99046aa1570e7f0d308b7092 (diff) | |
download | sratom-95c1033b7c805da8c2bc69f6f43277008a5980b5.tar.gz sratom-95c1033b7c805da8c2bc69f6f43277008a5980b5.tar.bz2 sratom-95c1033b7c805da8c2bc69f6f43277008a5980b5.zip |
Replace duplicated dox_to_sphinx script with sphinxygen dependency
Diffstat (limited to 'doc/c')
-rw-r--r-- | doc/c/api/meson.build | 2 | ||||
-rw-r--r-- | doc/c/meson.build | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/c/api/meson.build b/doc/c/api/meson.build index 259117d..22aa355 100644 --- a/doc/c/api/meson.build +++ b/doc/c/api/meson.build @@ -3,7 +3,7 @@ c_sratom_rst = custom_target( 'sratom.rst', - command: [dox_to_sphinx, '-f', '@INPUT0@', '@OUTDIR@'], + command: [sphinxygen, '-f', '@INPUT0@', '@OUTDIR@'], input: [c_index_xml] + c_rst_files, output: 'sratom.rst', ) diff --git a/doc/c/meson.build b/doc/c/meson.build index 2a7a030..502dd83 100644 --- a/doc/c/meson.build +++ b/doc/c/meson.build @@ -10,7 +10,7 @@ conf_py = configure_file( output: 'conf.py', ) -configure_file( +summary_rst = configure_file( copy: true, input: files('../summary.rst'), output: 'summary.rst', @@ -21,6 +21,8 @@ c_rst_files = files( 'overview.rst', ) +sratom_doc_rst_files = [summary_rst] + c_rst_files + foreach f : c_rst_files configure_file(copy: true, input: f, output: '@PLAINNAME@') endforeach |