]> git.ipfire.org Git - thirdparty/systemd.git/blame - catalog/meson.build
Merge the "boot loader specification" wiki page
[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)
69e96427 20build_catalog_dir = meson.current_build_dir()
5c23128d
ZJS
21
22foreach file : in_files
37efbbd8
ZJS
23 custom_target(
24 file,
25 input : file + '.in',
26 output: file,
27 command : [sed, support_sed, '@INPUT@'],
28 capture : true,
29 install : true,
30 install_dir : catalogdir)
5c23128d 31endforeach
49e74d7e
ZJS
32
33meson.add_install_script('sh', '-c',
34 'test -n "$DESTDIR" || @0@/journalctl --update-catalog'
35 .format(rootbindir))