From 89e1b648f39661e91b2ad502f4843d825fcd6fbf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Nov 2025 17:21:38 -0500 Subject: Simplify documentation configuration options It's annoying to have to specify online_docs when you're not building the documentation anyway, and this made it possible to configure things so that only htaccess files were installed, which isn't useful. --- doc/ns/extensions/meson.build | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/ns/extensions') diff --git a/doc/ns/extensions/meson.build b/doc/ns/extensions/meson.build index 837f736..3bf66b4 100644 --- a/doc/ns/extensions/meson.build +++ b/doc/ns/extensions/meson.build @@ -1,23 +1,23 @@ -# Copyright 2022 David Robillard +# Copyright 2022-2025 David Robillard # SPDX-License-Identifier: 0BSD OR ISC config = configuration_data({'BASE': '/ns/extensions'}) -if get_option('online_docs') - htaccess = configure_file( - configuration: config, - input: files('..' / '..' / 'htaccess.in'), - install_dir: lv2_docdir / 'ns' / 'extensions', - output: '.htaccess', - ) -endif - spec_names = [ 'ui', 'units', ] if build_docs + if get_option('online_docs') + htaccess = configure_file( + configuration: config, + input: files('..' / '..' / 'htaccess.in'), + install_dir: lv2_docdir / 'ns' / 'extensions', + output: '.htaccess', + ) + endif + foreach name : spec_names spec_file = files(lv2_source_root / 'lv2' / name + '.lv2' / name + '.ttl') -- cgit v1.2.1