proxmox_routing/Makefile

17 lines
561 B
Makefile

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/creds
cp vm-route-creation.service $(DESTDIR)/etc/systemd/system/
cp vm-routes-creation.logrotate $(DESTDIR)/etc/logrotate.d/