]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/locale/meson.build
Merge pull request #11066 from yuwata/test-network-tiny-cleanups
[thirdparty/systemd.git] / src / locale / meson.build
CommitLineData
3a726fcd 1# SPDX-License-Identifier: LGPL-2.1+
3a726fcd 2
5c23128d 3systemd_localed_sources = files('''
37efbbd8
ZJS
4 localed.c
5 keymap-util.c
6 keymap-util.h
5c23128d
ZJS
7'''.split())
8
9localectl_sources = files('localectl.c')
10
349cc4a5 11if conf.get('ENABLE_LOCALED') == 1
37efbbd8
ZJS
12 install_data('org.freedesktop.locale1.conf',
13 install_dir : dbuspolicydir)
14 install_data('org.freedesktop.locale1.service',
15 install_dir : dbussystemservicedir)
9b3cff19 16 install_data('org.freedesktop.locale1.policy',
264d8dcc 17 install_dir : polkitpolicydir)
5c23128d
ZJS
18endif
19
69e96427
ZJS
20# If you know a way that allows the same variables to be used
21# in sources list and concatenated to a string for test_env,
22# let me know.
e17e5ba9
MB
23kbd_model_map = join_paths(meson.current_source_dir(), 'kbd-model-map')
24language_fallback_map = join_paths(meson.current_source_dir(), 'language-fallback-map')
69e96427 25
349cc4a5 26if conf.get('ENABLE_LOCALED') == 1
1c9f1314 27 install_data('kbd-model-map',
28 'language-fallback-map',
29 install_dir : pkgdatadir)
30endif
69e96427
ZJS
31
32tests += [
37efbbd8
ZJS
33 [['src/locale/test-keymap-util.c',
34 'src/locale/keymap-util.c',
35 'src/locale/keymap-util.h'],
36 [libshared],
37 [libdl]],
38]