2019-01-31 12:43:09 +00:00
|
|
|
include ../defines.mk
|
|
|
|
|
|
|
|
UNITS := \
|
|
|
|
proxmox-backup.service \
|
|
|
|
proxmox-backup-proxy.service
|
|
|
|
|
|
|
|
all: $(UNITS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(UNITS)
|
|
|
|
|
|
|
|
.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 $@
|