meson.build: install the server with meson as well
This commit is contained in:
parent
a708978fad
commit
ea162610fd
12
meson.build
12
meson.build
|
@ -34,7 +34,12 @@ subdir('tuhigui/data')
|
||||||
pymod = import('python')
|
pymod = import('python')
|
||||||
py3 = pymod.find_installation()
|
py3 = pymod.find_installation()
|
||||||
python_dir = py3.get_install_dir()
|
python_dir = py3.get_install_dir()
|
||||||
install_subdir('tuhigui/tuhigui', install_dir: python_dir, exclude_directories: '__pycache__')
|
install_subdir('tuhigui',
|
||||||
|
install_dir: python_dir,
|
||||||
|
exclude_directories: ['__pycache__', 'data'])
|
||||||
|
install_subdir('tuhi',
|
||||||
|
install_dir: python_dir,
|
||||||
|
exclude_directories: '__pycache__')
|
||||||
|
|
||||||
config_tuhigui = configuration_data()
|
config_tuhigui = configuration_data()
|
||||||
config_tuhigui.set('pkgdatadir', pkgdatadir)
|
config_tuhigui.set('pkgdatadir', pkgdatadir)
|
||||||
|
@ -58,6 +63,11 @@ configure_file(input: 'tuhi-gui.in',
|
||||||
output: 'tuhi-gui.devel',
|
output: 'tuhi-gui.devel',
|
||||||
configuration: config_tuhigui_devel)
|
configuration: config_tuhigui_devel)
|
||||||
|
|
||||||
|
configure_file(input: 'tuhi-server.py',
|
||||||
|
output: 'tuhi-server',
|
||||||
|
copy: true,
|
||||||
|
install_dir: bindir)
|
||||||
|
|
||||||
meson.add_install_script('meson_install.sh')
|
meson.add_install_script('meson_install.sh')
|
||||||
|
|
||||||
desktop_file = i18n.merge_file(input: 'tuhigui/data/org.freedesktop.Tuhi.desktop.in',
|
desktop_file = i18n.merge_file(input: 'tuhigui/data/org.freedesktop.Tuhi.desktop.in',
|
||||||
|
|
Loading…
Reference in New Issue