diff options
-rw-r--r-- | lv2/core.lv2/meta.ttl | 2 | ||||
-rw-r--r-- | meson.build | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lv2/core.lv2/meta.ttl b/lv2/core.lv2/meta.ttl index d3a736f..ddc38f0 100644 --- a/lv2/core.lv2/meta.ttl +++ b/lv2/core.lv2/meta.ttl @@ -40,6 +40,8 @@ THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH R dcs:changeset [ dcs:item [ rdfs:label "Fix includedir in pkg-config file." + ] , [ + rdfs:label "Only install lv2specgen when required Python modules are found." ] ] ] , [ diff --git a/meson.build b/meson.build index 703080b..178adf7 100644 --- a/meson.build +++ b/meson.build @@ -292,6 +292,7 @@ spec_files = files( # Determine if all the dependencies for building documentation are present doxygen = find_program('doxygen', required: get_option('docs')) build_docs = false +build_lv2specgen = false doc_deps = [] if not get_option('docs').disabled() doc_python_modules = ['lxml', 'markdown', 'pygments', 'rdflib'] @@ -308,13 +309,16 @@ if not get_option('docs').disabled() endif build_docs = doxygen.found() and python.found() + build_lv2specgen = python.found() endif # Run Doxygen first to generate tags subdir('doc/c') # Set up lv2specgen and lv2specgen_command_prefix (which references tags) -subdir('lv2specgen') +if build_lv2specgen + subdir('lv2specgen') +endif # Generate specification documentation if build_docs |