diff options
| author | David Robillard <d@drobilla.net> | 2025-11-13 17:21:38 -0500 |
|---|---|---|
| committer | David Robillard <d@drobilla.net> | 2025-11-13 17:22:26 -0500 |
| commit | 89e1b648f39661e91b2ad502f4843d825fcd6fbf (patch) | |
| tree | 8f6062acf7cab17121fb7a056ef26a8aec8bd308 /doc/ns/meson.build | |
| parent | 24d70a1e94d37ccaa979724715273bdf7b5be062 (diff) | |
| download | lv2-89e1b648f39661e91b2ad502f4843d825fcd6fbf.tar.xz | |
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.
Diffstat (limited to 'doc/ns/meson.build')
| -rw-r--r-- | doc/ns/meson.build | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/ns/meson.build b/doc/ns/meson.build index 126a100..3189cc2 100644 --- a/doc/ns/meson.build +++ b/doc/ns/meson.build @@ -3,15 +3,6 @@ config = configuration_data({'BASE': '/ns'}) -if get_option('online_docs') - htaccess = configure_file( - configuration: config, - input: files('..' / 'htaccess.in'), - install_dir: lv2_docdir / 'ns', - output: '.htaccess', - ) -endif - ###################### # Core Documentation # ###################### @@ -36,6 +27,13 @@ if build_docs ) if get_option('online_docs') + htaccess = configure_file( + configuration: config, + input: files('..' / 'htaccess.in'), + install_dir: lv2_docdir / 'ns', + output: '.htaccess', + ) + configure_file( copy: true, input: spec_file, |