2019-01-31 12:43:09 +00:00
|
|
|
include ../defines.mk
|
|
|
|
|
2020-10-31 20:27:06 +00:00
|
|
|
UNITS := \
|
|
|
|
proxmox-backup-daily-update.timer \
|
2020-02-06 21:08:07 +00:00
|
|
|
|
|
|
|
DYNAMIC_UNITS := \
|
2020-02-10 13:43:26 +00:00
|
|
|
proxmox-backup-banner.service \
|
2020-10-31 20:27:06 +00:00
|
|
|
proxmox-backup-daily-update.service \
|
2019-01-31 12:43:09 +00:00
|
|
|
proxmox-backup.service \
|
|
|
|
proxmox-backup-proxy.service
|
|
|
|
|
2020-07-08 17:08:16 +00:00
|
|
|
all: $(UNITS) $(DYNAMIC_UNITS) pbstest-beta.list
|
2019-01-31 12:43:09 +00:00
|
|
|
|
|
|
|
clean:
|
2020-02-06 21:08:07 +00:00
|
|
|
rm -f $(DYNAMIC_UNITS)
|
2019-01-31 12:43:09 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .service.in .service
|
|
|
|
.service.in.service:
|
|
|
|
sed \
|
2019-02-01 09:05:14 +00:00
|
|
|
-e 's!%LIBEXECDIR%!$(LIBEXECDIR)!g' \
|
2019-01-31 12:43:09 +00:00
|
|
|
-e 's!%PROXY_USER%!$(PROXY_USER)!g' \
|
|
|
|
$< >$@.tmp
|
|
|
|
mv $@.tmp $@
|