blueprint-compiler/meson.build
James Westman 544d152fb6
Rename to blueprint-compiler
This isn't an official GTK project so better to avoid using "GTK" in the
name.
2021-12-01 15:35:58 -06:00

32 lines
764 B
Meson

project('blueprint-compiler',
version: '0.1.0',
)
subdir('docs')
prefix = get_option('prefix')
libdir = join_paths(prefix, get_option('libdir'))
py = import('python').find_installation('python3')
configure_file(
input: 'blueprint-compiler.pc.in',
output: 'blueprint-compiler.pc',
configuration: { 'VERSION': meson.project_version() },
install: not meson.is_subproject(),
install_dir: join_paths(libdir, 'pkgconfig'),
)
install_data(
'blueprint-compiler.py',
install_dir: get_option('bindir'),
rename: 'blueprint-compiler',
)
meson.override_find_program('blueprint-compiler', find_program('blueprint-compiler.py'))
if not meson.is_subproject()
install_subdir('blueprintcompiler', install_dir: py.get_install_dir())
endif
subdir('tests')