proxmox_routing/Makefile
2019-01-24 20:34:45 +01:00

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