prefix = /usr/local install: mkdir -p $(DESTDIR)$(prefix)/sbin mkdir -p $(DESTDIR)$(prefix)/etc/proxmox-routing mkdir -p $(DESTDIR)/etc/systemd/system/ mkdir -p $(DESTDIR)/etc/logrotate.d/ cp creationRoutesVM.sh $(DESTDIR)$(prefix)/sbin/creationRoutesVM cp inotify-triggered-vm-route-creation.sh $(DESTDIR)$(prefix)/sbin/ cp send-icmp.py $(DESTDIR)$(prefix)/sbin/ cp creds.example $(DESTDIR)$(prefix)/etc/proxmox-routing/ cp vm-routes-creation.service $(DESTDIR)/etc/systemd/system/ cp vm-routes-creation.logrotate $(DESTDIR)/etc/logrotate.d/vm-routes-creation.conf clean: rm -r $(DESTDIR)$(prefix)/sbin/creationRoutesVM rm -r $(DESTDIR)$(prefix)/sbin/inotify-triggered-vm-route-creation.sh rm -r $(DESTDIR)$(prefix)/sbin/send-icmp.py rm -r $(DESTDIR)$(prefix)/etc/proxmox-routing/ rm -r $(DESTDIR)/etc/systemd/system/vm-routes-creation.service rm -r $(DESTDIR)/etc/logrotate.d/vm-routes-creation.conf