############################################################
-exe = executable(
- 'systemd',
- systemd_sources,
- include_directories : includes,
- link_with : [libcore,
- libshared],
- dependencies : [libseccomp,
- userspace],
- install_rpath : pkglibdir,
- install : true,
- install_dir : libexecdir)
-dbus_programs += exe
-public_programs += exe
-
-meson.add_install_script(meson_make_symlink,
- libexecdir / 'systemd',
- sbindir / 'init')
-
exe = executable(
'systemd-analyze',
systemd_analyze_sources,
'crash-handler.c',
)
+executables += [
+ libexec_template + {
+ 'name' : 'systemd',
+ 'dbus' : true,
+ 'public' : true,
+ 'sources' : systemd_sources,
+ 'link_with' : [
+ libcore,
+ libshared,
+ ],
+ 'dependencies' : libseccomp,
+ },
+]
+
in_files = [['system.conf', pkgsysconfdir],
['user.conf', pkgsysconfdir],
['org.freedesktop.systemd1.policy', polkitpolicydir]]
meson.add_install_script('sh', '-c', mkdir_p.format(sysconfdir / 'xdg/systemd'))
endif
+meson.add_install_script(meson_make_symlink,
+ libexecdir / 'systemd',
+ sbindir / 'init')
+
############################################################
test_core_base = {