Merge pull request #48 from erikw/fix/46

Fix make install failing when run multiple times
This commit is contained in:
Erik Westrup
2022-01-17 09:52:08 +01:00
committed by GitHub

View File

@@ -3,7 +3,8 @@
### Macros ###
SRCS_SCRIPTS = $(filter-out %cron_mail, $(wildcard usr/local/sbin/*))
SRCS_CONF = $(patsubst %.template, %, $(wildcard etc/restic/*))
# $(sort) remove duplicates that comes from running make install >1 times.
SRCS_CONF = $(sort $(patsubst %.template, %, $(wildcard etc/restic/*)))
SRCS_SYSTEMD = $(wildcard etc/systemd/system/*)
# Just set PREFIX in environment, like