]> git.proxmox.com Git - pve-firewall.git/blobdiff - src/PVE/API2/Firewall/Makefile
bump version to 5.0.5
[pve-firewall.git] / src / PVE / API2 / Firewall / Makefile
index fbcb6d3073852d99c1c00ab0d1ed2c71609c2889..e916755adb6af6e28545ceaadbfb3328f61f1280 100644 (file)
@@ -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