19 lines
298 B
Makefile
19 lines
298 B
Makefile
|
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 \
|
||
|
-e 's!%LIBDIR%!$(LIBDIR)!g' \
|
||
|
-e 's!%PROXY_USER%!$(PROXY_USER)!g' \
|
||
|
$< >$@.tmp
|
||
|
mv $@.tmp $@
|