Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatthias Dressel <code@deadcode.eu>2020-04-03 06:45:02 +0300
committerMatthias Dressel <code@deadcode.eu>2020-06-11 19:07:44 +0300
commitbc008834b9e9d08f86d18227ca05a251492a0617 (patch)
tree3acfb5ebc2006b0411fcb5b1147b1355bb39da4a /doc
parent22fb8a42a1cb5e86f4b14070cd57430b37e57e2c (diff)
meson: Make docs generation subproject-safe
meson.source_root() returns the root of a parent project if dav1d is embedded as a subproject.
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 4badbf6..0ef7123 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -27,8 +27,8 @@ dot = find_program('dot', required: false)
if doxygen.found() and dot.found()
conf_data = configuration_data()
- conf_data.set('DOXYGEN_INPUT', join_paths(meson.source_root(), 'include/dav1d'))
- conf_data.set('DOXYGEN_STRIP', join_paths(meson.source_root(), 'include'))
+ conf_data.set('DOXYGEN_INPUT', join_paths(dav1d_src_root, 'include/dav1d'))
+ conf_data.set('DOXYGEN_STRIP', join_paths(dav1d_src_root, 'include'))
conf_data.set('DOXYGEN_OUTPUT', meson.current_build_dir())
doxyfile = configure_file(input: 'Doxyfile.in',
output: 'Doxyfile',