From 8108cd8e91bb26f55ffb7d782f78dd786a2c0e82 Mon Sep 17 00:00:00 2001 From: Mike Detwiler Date: Sun, 18 Dec 2022 16:07:21 -0500 Subject: [PATCH] Issue #131: Fix Makefile.am logic error Signed-off-by: Mike Detwiler --- data/autoconf/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/autoconf/Makefile.am b/data/autoconf/Makefile.am index d2c046a..0c21e28 100644 --- a/data/autoconf/Makefile.am +++ b/data/autoconf/Makefile.am @@ -10,7 +10,11 @@ config_site_sysvinit = config-site-sysvinit # data/scripts generated by configure (source file automatically distributed) conf_data = $(config_site) -$(config_site): $(config_site_systemd) $(config_site_sysvinit) +if HAVE_SYSTEMD_PATH +$(config_site): $(config_site_systemd) +else +$(config_site): $(config_site_sysvinit) +endif data_DATA = $(conf_data)