]> git.proxmox.com Git - systemd.git/blame - catalog/meson.build
New upstream version 240
[systemd.git] / catalog / meson.build
CommitLineData
52ad194e 1# SPDX-License-Identifier: LGPL-2.1+
52ad194e 2
81c58355
MB
3in_files = '''
4 systemd.bg.catalog
5 systemd.be.catalog
6 systemd.be@latin.catalog
f5e65279 7 systemd.de.catalog
81c58355
MB
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
18support_url = get_option('support-url')
19support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)
81c58355
MB
20
21foreach 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)
30endforeach
52ad194e
MB
31
32meson.add_install_script('sh', '-c',
33 'test -n "$DESTDIR" || @0@/journalctl --update-catalog'
34 .format(rootbindir))