]> git.ipfire.org Git - thirdparty/systemd.git/blob - catalog/meson.build
service: Fix typo in warning message
[thirdparty/systemd.git] / catalog / meson.build
1 # SPDX-License-Identifier: LGPL-2.1+
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 '''.split()
17
18 support_url = get_option('support-url')
19 support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)
20
21 foreach file : in_files
22 custom_target(
23 file,
24 input : file + '.in',
25 output: file,
26 command : [sed, support_sed, '@INPUT@'],
27 capture : true,
28 install : true,
29 install_dir : catalogdir)
30 endforeach
31
32 meson.add_install_script('sh', '-c',
33 'test -n "$DESTDIR" || @0@/journalctl --update-catalog'
34 .format(rootbindir))