]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
3a726fcd | 2 | |
f1b98127 ZJS |
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'] | |
5c23128d ZJS |
16 | |
17 | support_url = get_option('support-url') | |
18 | support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url) | |
19 | ||
20 | foreach file : in_files | |
e93ada98 | 21 | catalogs += custom_target( |
37efbbd8 ZJS |
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) | |
5c23128d | 29 | endforeach |
49e74d7e | 30 | |
7c22f07c | 31 | meson.add_install_script('sh', '-c', |
0f4c4f38 | 32 | 'test -n "$DESTDIR" || @0@/journalctl --update-catalog'.format(rootbindir)) |