summaryrefslogtreecommitdiffstats
path: root/src/xdg-autostart-generator
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-06-25 08:59:49 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-07-31 22:52:50 +0200
commit6c713961ab0831fe744a2df9c4e9e258b6ba3105 (patch)
treeb355d9479f7e88576b1b864c6cd9f199514c26b4 /src/xdg-autostart-generator
parentmeson: move declarations of cryptsetup and friends (diff)
downloadsystemd-6c713961ab0831fe744a2df9c4e9e258b6ba3105.tar.xz
systemd-6c713961ab0831fe744a2df9c4e9e258b6ba3105.zip
meson: move declarations of several generators
Diffstat (limited to 'src/xdg-autostart-generator')
-rw-r--r--src/xdg-autostart-generator/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/xdg-autostart-generator/meson.build b/src/xdg-autostart-generator/meson.build
index c7e5660881..8eea9322ae 100644
--- a/src/xdg-autostart-generator/meson.build
+++ b/src/xdg-autostart-generator/meson.build
@@ -5,6 +5,20 @@ systemd_xdg_autostart_generator_sources = files(
'xdg-autostart-service.c',
)
+executables += [
+ executable_template + {
+ 'name' : 'systemd-xdg-autostart-generator',
+ 'conditions' : ['ENABLE_XDG_AUTOSTART'],
+ 'sources' : systemd_xdg_autostart_generator_sources,
+ 'install_dir' : usergeneratordir,
+ },
+ libexec_template + {
+ 'name' : 'systemd-xdg-autostart-condition',
+ 'conditions' : ['ENABLE_XDG_AUTOSTART'],
+ 'sources' : files('xdg-autostart-condition.c'),
+ },
+]
+
tests += [
{
'sources' : files(