diff options
author | David Robillard <d@drobilla.net> | 2021-01-11 02:45:04 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-16 19:06:31 -0400 |
commit | 2f2fac062817a6cca82078fc6dcc6401fca3e292 (patch) | |
tree | 60eb33ae3d070e487a29b017a713d1b05edf83c7 /doc/c/wscript | |
parent | c46452c83d442de137fa6470ba544e3ba142e923 (diff) | |
download | sratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.tar.gz sratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.tar.bz2 sratom-2f2fac062817a6cca82078fc6dcc6401fca3e292.zip |
WIP: Switch to Meson
Diffstat (limited to 'doc/c/wscript')
-rw-r--r-- | doc/c/wscript | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/doc/c/wscript b/doc/c/wscript deleted file mode 100644 index 9ea3094..0000000 --- a/doc/c/wscript +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env python - -def build(bld): - dox_to_sphinx = bld.path.find_node("../../scripts/dox_to_sphinx.py") - index_xml = bld.path.get_bld().make_node("xml/index.xml") - - files = [ - ("../sratom.rst", "sphinx/sratom.rst"), - ("index.rst", "sphinx/index.rst"), - ("overview.rst", "sphinx/overview.rst"), - ("reference.rst", "sphinx/reference.rst"), - ] - - # Run Doxygen to generate XML documentation - bld(features="doxygen", doxyfile="Doxyfile") - - # Substitute variables to make Sphinx configuration file - bld(features="subst", - source="../conf.py.in", - target="sphinx/conf.py", - SERD_VERSION=bld.env.SERD_VERSION) - - # Copy static documentation files to Sphinx build directory - for f in files: - bld(features="subst", is_copy=True, source=f[0], target=f[1]) - - # Generate Sphinx markup from Doxygen XML - bld.add_group() - bld(rule="${PYTHON} " + dox_to_sphinx.abspath() + " -f ${SRC} ${TGT}", - source=index_xml, - target="sphinx/api/") - - # Run Sphinx to generate HTML documentation - doc_dir = bld.env.DOCDIR + "/sratom-%s/" % bld.env.SRATOM_MAJOR_VERSION - bld(features="sphinx", - sphinx_source=bld.path.get_bld().make_node("sphinx"), - sphinx_output_format="singlehtml", - sphinx_options=["-E", "-q", "-t", "singlehtml"], - install_path=doc_dir + "c/singlehtml/") |