From dd092af6a17128e0f69c1b094eec19564f730324 Mon Sep 17 00:00:00 2001 From: Erik Westrup Date: Sat, 5 Feb 2022 15:43:57 +0100 Subject: [PATCH] Remove legacy .template --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ec9e309..3fa56bf 100644 --- a/Makefile +++ b/Makefile @@ -43,9 +43,8 @@ DIR_CONF = etc/restic DIR_SYSTEMD = usr/lib/systemd/system # Source files. -SRCS_SCRIPT = $(filter-out %cron_mail, $(wildcard $(DIR_SCRIPT)/*)) -# $(sort) remove duplicates that comes from running make install >1 times. -SRCS_CONF = $(sort $(patsubst %.template, %, $(wildcard $(DIR_CONF)/*))) +SRCS_SCRIPT = $(filter-out %cron_mail, $(wildcard $(DIR_SCRIPT)/*)) +SRCS_CONF = $(wildcard $(DIR_CONF)/*) SRCS_SYSTEMD = $(wildcard $(DIR_SYSTEMD)/*)