Gradience/gradience/frontend/meson.build
tfuxu 4e5d2a03a1
frontend: move settings_schema to schemas/ subfolder
* rename settings_schema to preset_schema
    * update frontend/struct.md
2023-03-06 18:34:37 +01:00

36 lines
703 B
Meson

frontenddir = 'gradience/frontend'
configure_file(
input: 'gradience.in',
output: 'gradience',
configuration: conf,
install_dir: get_option('bindir')
)
if get_option('buildtype') == 'debug'
configure_file(
input: 'gradience.in',
output: 'local-gradience',
configuration: local_conf
)
launcher = join_paths(meson.project_build_root(), moduledir, 'frontend', 'local-' + meson.project_name())
run_target('run',
command: [launcher]
)
endif
subdir('cli')
subdir('dialogs')
subdir('schemas')
subdir('utils')
subdir('views')
subdir('widgets')
gradience_sources = [
'__init__.py',
'main.py'
]
PY_INSTALLDIR.install_sources(gradience_sources, subdir: frontenddir)