From 8bf74e12a900349cb1ac21c22065a64d09873ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Thu, 9 Sep 2021 13:54:15 +0200 Subject: [PATCH 1/2] Unconditionally generate systemd unit files --- meson.build | 4 +--- systemd/system/meson.build | 1 - systemd/user/meson.build | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/meson.build b/meson.build index f22b7a3..b4cc736 100644 --- a/meson.build +++ b/meson.build @@ -133,9 +133,7 @@ install_data( install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()), ) -if libsystemd_dep.found() - subdir('systemd') -endif +subdir('systemd') subdir('doc') diff --git a/systemd/system/meson.build b/systemd/system/meson.build index 83c5fe1..dfbdd59 100644 --- a/systemd/system/meson.build +++ b/systemd/system/meson.build @@ -7,5 +7,4 @@ configure_file( input: 'mpdscribble.service.in', output: 'mpdscribble.service', configuration: systemd_unit_conf, - install_dir: systemd_system_unit_dir, ) diff --git a/systemd/user/meson.build b/systemd/user/meson.build index 5372d3c..72320ee 100644 --- a/systemd/user/meson.build +++ b/systemd/user/meson.build @@ -7,5 +7,4 @@ configure_file( input: 'mpdscribble.service.in', output: 'mpdscribble.service', configuration: systemd_unit_conf, - install_dir: systemd_user_unit_dir, ) -- 2.32.0