proxmox-backup/etc/Makefile
Wolfgang Bumiller 304db5da3d use libexecdir for service binaries
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00

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