From 6c713961ab0831fe744a2df9c4e9e258b6ba3105 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 25 Jun 2023 15:59:49 +0900 Subject: meson: move declarations of several generators --- src/xdg-autostart-generator/meson.build | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/xdg-autostart-generator') 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( -- cgit v1.2.3