diff options
author | David Robillard <d@drobilla.net> | 2021-03-28 13:42:35 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | d094448c095a59117febc8bd4687df071ce9759a (patch) | |
tree | 08e81a3a9a46627dc8b545c12ebf17ae51ef76f4 /doc/epub | |
parent | f74a7448036d6fbe3f6562aa6e87d7e7478f0341 (diff) | |
download | serd-d094448c095a59117febc8bd4687df071ce9759a.tar.gz serd-d094448c095a59117febc8bd4687df071ce9759a.tar.bz2 serd-d094448c095a59117febc8bd4687df071ce9759a.zip |
Add high-level documentation
Diffstat (limited to 'doc/epub')
-rw-r--r-- | doc/epub/meson.build | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/epub/meson.build b/doc/epub/meson.build new file mode 100644 index 00000000..c88091c0 --- /dev/null +++ b/doc/epub/meson.build @@ -0,0 +1,26 @@ +# Copyright 2021-2023 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: 0BSD OR ISC + +epub_dir = docdir / versioned_name / 'epub' + +# TODO: Add install_tag: 'doc' after requiring meson 0.60.0 + +custom_target( + 'epub', + build_by_default: true, + command: [ + sphinx_build, + '-M', 'epub', + '@OUTDIR@' / '..', + '@OUTDIR@' / '..', + '-t', 'epub', + ] + sphinx_flags, + input: [c_rst_files, c_serd_rst, c_index_xml, conf_py], + install: true, + install_dir: epub_dir, + output: ['Serd-1.1.1.epub'], +) + +if not meson.is_subproject() + summary('EPub', get_option('prefix') / epub_dir, section: 'Directories') +endif |