summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/meson.build b/Documentation/meson.build
index 9136506f..c4e98924 100644
--- a/Documentation/meson.build
+++ b/Documentation/meson.build
@@ -62,4 +62,10 @@ if sphinx.found()
build_by_default : true,
install : true,
install_dir : doc_install_dir)
+
+ custom_target('documentation-linkcheck',
+ command: [sphinx, '-W', '-b', 'linkcheck', meson.current_source_dir(), '@OUTPUT@'],
+ build_always_stale: true,
+ input: docs_sources,
+ output: 'linkcheck')
endif