]>
Commit | Line | Data |
---|---|---|
5c23128d | 1 | systemd_journal_upload_sources = files(''' |
37efbbd8 ZJS |
2 | journal-upload.h |
3 | journal-upload.c | |
4 | journal-upload-journal.c | |
5c23128d ZJS |
5 | '''.split()) |
6 | ||
7 | systemd_journal_remote_sources = files(''' | |
37efbbd8 ZJS |
8 | journal-remote-parse.h |
9 | journal-remote-parse.c | |
10 | journal-remote-write.h | |
11 | journal-remote-write.c | |
12 | journal-remote.h | |
13 | journal-remote.c | |
14 | microhttpd-util.h | |
15 | microhttpd-util.c | |
5c23128d ZJS |
16 | '''.split()) |
17 | ||
18 | systemd_journal_gatewayd_sources = files(''' | |
37efbbd8 ZJS |
19 | journal-gatewayd.c |
20 | microhttpd-util.h | |
21 | microhttpd-util.c | |
5c23128d ZJS |
22 | '''.split()) |
23 | ||
2c201c21 | 24 | if conf.get('ENABLE_REMOTE', false) and conf.get('HAVE_LIBCURL', false) |
37efbbd8 ZJS |
25 | journal_upload_conf = configure_file( |
26 | input : 'journal-upload.conf.in', | |
27 | output : 'journal-upload.conf', | |
28 | configuration : substs) | |
29 | install_data(journal_upload_conf, | |
30 | install_dir : pkgsysconfdir) | |
5c23128d ZJS |
31 | endif |
32 | ||
2c201c21 | 33 | if conf.get('ENABLE_REMOTE', false) and conf.get('HAVE_MICROHTTPD', false) |
37efbbd8 ZJS |
34 | journal_remote_conf = configure_file( |
35 | input : 'journal-remote.conf.in', | |
36 | output : 'journal-remote.conf', | |
37 | configuration : substs) | |
38 | install_data(journal_remote_conf, | |
39 | install_dir : pkgsysconfdir) | |
5c23128d | 40 | |
1c9f1314 | 41 | install_data('browse.html', |
42 | install_dir : join_paths(pkgdatadir, 'gatewayd')) | |
a3e34ac8 | 43 | |
1c9f1314 | 44 | meson.add_install_script('sh', '-c', |
45 | mkdir_p.format('/var/log/journal/remote')) | |
46 | meson.add_install_script('sh', '-c', | |
47 | 'chown 0:0 $DESTDIR/var/log/journal/remote && | |
48 | chmod 755 $DESTDIR/var/log/journal/remote || :') | |
49 | endif |