5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2024-12-22 13:34:16 +03:00
proxmox-backup/etc/Makefile

22 lines
372 B
Makefile
Raw Normal View History

include ../defines.mk
UNITS := \
pbsbanner.service \
DYNAMIC_UNITS := \
proxmox-backup.service \
proxmox-backup-proxy.service
all: $(UNITS) $(DYNAMIC_UNITS)
clean:
rm -f $(DYNAMIC_UNITS)
.SUFFIXES: .service.in .service
.service.in.service:
sed \
-e 's!%LIBEXECDIR%!$(LIBEXECDIR)!g' \
-e 's!%PROXY_USER%!$(PROXY_USER)!g' \
$< >$@.tmp
mv $@.tmp $@