Files
clapper/meson.build
Rafał Dzięgiel 340cb36ecd Move "clapper_src" dir to "src"
The "clapper_src" directory name was unusual. This was done to make it work as a widget for other apps. Now that this functionality got removed it can be named simply "src" as recommended by guidelines.
2021-01-21 14:19:04 +01:00

28 lines
754 B
Meson

project('com.github.rafostar.Clapper',
version: '0.0.0',
meson_version: '>= 0.50.0',
license: 'GPL3',
default_options: [ 'warning_level=2' ]
)
python = import('python')
python_bin = python.find_installation('python3')
if not python_bin.found()
error('No valid python3 binary found')
endif
conf = configuration_data()
conf.set('bindir', join_paths(get_option('prefix'), 'bin'))
subdir('bin')
subdir('data')
installdir = join_paths(get_option('prefix'), 'share', meson.project_name())
install_subdir('src', install_dir : installdir)
install_subdir('extras', install_dir : installdir)
install_subdir('css', install_dir : installdir)
install_subdir('ui', install_dir : installdir)
meson.add_install_script('build-aux/meson/postinstall.py')