summaryrefslogtreecommitdiffstats
path: root/units/user/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'units/user/meson.build')
-rw-r--r--units/user/meson.build38
1 files changed, 38 insertions, 0 deletions
diff --git a/units/user/meson.build b/units/user/meson.build
new file mode 100644
index 0000000..36341a4
--- /dev/null
+++ b/units/user/meson.build
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
+units = [
+ 'basic.target',
+ 'bluetooth.target',
+ 'default.target',
+ 'exit.target',
+ 'graphical-session-pre.target',
+ 'graphical-session.target',
+ 'paths.target',
+ 'printer.target',
+ 'shutdown.target',
+ 'smartcard.target',
+ 'sockets.target',
+ 'sound.target',
+ 'timers.target',
+ 'systemd-exit.service',
+ 'systemd-tmpfiles-clean.timer',
+]
+
+foreach file : units
+ install_data(file,
+ install_dir : userunitdir)
+endforeach
+
+in_units = [
+ 'systemd-tmpfiles-clean.service',
+ 'systemd-tmpfiles-setup.service',
+]
+
+foreach file : in_units
+ gen = configure_file(
+ input : file + '.in',
+ output : file,
+ configuration : substs)
+ install_data(gen,
+ install_dir : userunitdir)
+endforeach