X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2FPVE%2FAPI2%2FFirewall%2FMakefile;h=7b2c3452e02cfecb62f5d4602446cef85f8fe0c9;hp=fbcb6d3073852d99c1c00ab0d1ed2c71609c2889;hb=HEAD;hpb=b4366f0078a37b8542dbeca999dc39cbd4a00f7f diff --git a/src/PVE/API2/Firewall/Makefile b/src/PVE/API2/Firewall/Makefile index fbcb6d3..e916755 100644 --- a/src/PVE/API2/Firewall/Makefile +++ b/src/PVE/API2/Firewall/Makefile @@ -1,4 +1,11 @@ +DESTDIR= +PREFIX=/usr +PERLDIR=$(DESTDIR)/$(PREFIX)/share/perl5 + LIB_SOURCES= \ + Aliases.pm \ + IPSet.pm \ + Rules.pm \ Cluster.pm \ Host.pm \ VM.pm \ @@ -8,8 +15,8 @@ all: .PHONY: install install: - install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/API2/Firewall - for i in ${LIB_SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/API2/Firewall/$$i; done + install -d -m 0755 $(PERLDIR)/PVE/API2/Firewall + for i in $(LIB_SOURCES); do install -D -m 0644 $$i $(PERLDIR)/PVE/API2/Firewall/$$i; done .PHONY: clean