# Copyright 2022 David Robillard # SPDX-License-Identifier: CC0-1.0 OR ISC name = 'log' path = 'ns' / 'ext' / 'log' log_data = files( 'log.meta.ttl', 'log.ttl', 'manifest.ttl', ) headers = files( 'log.h', 'logger.h', ) # Install specification bundle install_data(log_data, install_dir: lv2dir / name + '.lv2') install_headers(headers, subdir: 'lv2' / name) if get_option('old_headers') install_headers(headers, subdir: 'lv2' / 'lv2plug.in' / path) endif # Build documentation if build_docs lv2_log_docs = custom_target( name + '.html', command: lv2specgen_command_prefix + [ '--docdir=../../html', '--style-uri=../../aux/style.css', '@INPUT@', '@OUTPUT@', ], depends: doc_deps, input: files('log.ttl'), install: true, install_dir: lv2_docdir / 'ns' / 'ext', output: name + '.html', ) endif