summaryrefslogtreecommitdiffstats
path: root/doc/c/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-17 17:45:43 -0400
committerDavid Robillard <d@drobilla.net>2022-07-18 21:06:35 -0400
commit68293752dbfd80016dc7543b88f22c602427fa75 (patch)
tree4c3e93bb6f345de27e0e8b7403fea50d54639ff8 /doc/c/wscript
parent0d018befdaa9b59ddcc53d21b01bef1439a237e3 (diff)
downloadsuil-68293752dbfd80016dc7543b88f22c602427fa75.tar.gz
suil-68293752dbfd80016dc7543b88f22c602427fa75.tar.bz2
suil-68293752dbfd80016dc7543b88f22c602427fa75.zip
Switch to meson build system
Diffstat (limited to 'doc/c/wscript')
-rw-r--r--doc/c/wscript39
1 files changed, 0 insertions, 39 deletions
diff --git a/doc/c/wscript b/doc/c/wscript
deleted file mode 100644
index ae074bc..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 = [
- ("../suil.rst", "sphinx/suil.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 + "/suil-%s/" % bld.env.SUIL_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/")