]> git.ipfire.org Git - thirdparty/systemd.git/blob - catalog/meson.build
catalog: split out the one German language entry we have in systemd.catalog into...
[thirdparty/systemd.git] / catalog / meson.build
1 in_files = '''
2 systemd.bg.catalog
3 systemd.be.catalog
4 systemd.be@latin.catalog
5 systemd.de.catalog
6 systemd.fr.catalog
7 systemd.it.catalog
8 systemd.pl.catalog
9 systemd.pt_BR.catalog
10 systemd.ru.catalog
11 systemd.zh_CN.catalog
12 systemd.zh_TW.catalog
13 systemd.catalog
14 '''.split()
15
16 support_url = get_option('support-url')
17 support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)
18 build_catalog_dir = meson.current_build_dir()
19
20 foreach file : in_files
21 custom_target(
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)
29 endforeach