]> git.ipfire.org Git - thirdparty/systemd.git/blame - catalog/meson.build
fix(journal-gatewayd): use relative urls (not starting with '/')
[thirdparty/systemd.git] / catalog / meson.build
CommitLineData
3a726fcd 1# SPDX-License-Identifier: LGPL-2.1+
3a726fcd 2
5c23128d 3in_files = '''
37efbbd8
ZJS
4 systemd.bg.catalog
5 systemd.be.catalog
6 systemd.be@latin.catalog
6722da79 7 systemd.de.catalog
37efbbd8
ZJS
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'''.split()
17
18support_url = get_option('support-url')
19support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)
20
21foreach file : in_files
37efbbd8
ZJS
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)
5c23128d 30endforeach
49e74d7e
ZJS
31
32meson.add_install_script('sh', '-c',
33 'test -n "$DESTDIR" || @0@/journalctl --update-catalog'
34 .format(rootbindir))