]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
do not install sphinx-build manpages in templated ones exist
authorAydın Mercan <aydin@isc.org>
Mon, 23 Jun 2025 18:32:34 +0000 (21:32 +0300)
committerAydın Mercan <aydin@isc.org>
Mon, 30 Jun 2025 07:40:53 +0000 (10:40 +0300)
When building from the tarball, meson would try to install both
sphinx-built and template configured manpages.

While harmless for now, it might cause issues for future meson version.

meson.build

index 1e91c119e69e00212a0d1d37733c2c8641e2218d..c00be2bdce3f19f963b7edd00d42188c8a3aae3c 100644 (file)
@@ -1672,7 +1672,7 @@ if doc_opt.allowed()
             'man',
             depend_files: manrst_srcconf.sources(),
             depends: doc_misc_targets,
-            install: true,
+            install: man_srcconf.sources().length() == 0,
             install_dir: fs.parent(mandir),
             output: fs.name(mandir),
             env: env,