]> git.ipfire.org Git - thirdparty/systemd.git/blob - catalog/meson.build
Merge pull request #26137 from poettering/timesyncd-touch-file-tweaks
[thirdparty/systemd.git] / catalog / meson.build
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 in_files = [
4 'systemd.bg.catalog',
5 'systemd.be.catalog',
6 'systemd.be@latin.catalog',
7 'systemd.de.catalog',
8 'systemd.fr.catalog',
9 'systemd.it.catalog',
10 'systemd.pl.catalog',
11 'systemd.pt_BR.catalog',
12 'systemd.ru.catalog',
13 'systemd.zh_CN.catalog',
14 'systemd.zh_TW.catalog',
15 'systemd.catalog']
16
17 support_url = get_option('support-url')
18 support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)
19
20 foreach file : in_files
21 catalogs += custom_target(
22 file,
23 input : file + '.in',
24 output: file,
25 command : [sed, support_sed, '@INPUT@'],
26 capture : true,
27 install : true,
28 install_dir : catalogdir)
29 endforeach
30
31 meson.add_install_script('sh', '-c',
32 'test -n "$DESTDIR" || @0@/journalctl --update-catalog'.format(rootbindir))