2019-01-24 19:50:18 +01:00
|
|
|
prefix = /usr/local
|
|
|
|
|
|
|
|
install:
|
2019-01-24 20:00:13 +01:00
|
|
|
mkdir -p $(DESTDIR)$(prefix)/sbin
|
|
|
|
mkdir -p $(DESTDIR)$(prefix)/etc/proxmox-routing
|
|
|
|
mkdir -p $(DESTDIR)/etc/systemd/system/
|
|
|
|
mkdir -p $(DESTDIR)/etc/logrotate.d/
|
2019-01-24 19:50:18 +01:00
|
|
|
|
2019-01-24 20:00:13 +01:00
|
|
|
cp creationRoutesVM.sh $(DESTDIR)$(prefix)/sbin/creationRoutesVM
|
|
|
|
cp inotify-triggered-vm-route-creation.sh $(DESTDIR)$(prefix)/sbin/
|
|
|
|
cp send-icmp.py $(DESTDIR)$(prefix)/sbin/
|
2019-01-24 19:50:18 +01:00
|
|
|
|
2019-01-24 20:00:13 +01:00
|
|
|
cp creds.example $(DESTDIR)$(prefix)/etc/proxmox-routing/creds
|
2019-01-24 19:50:18 +01:00
|
|
|
|
2019-01-24 20:34:45 +01:00
|
|
|
cp vm-routes-creation.service $(DESTDIR)/etc/systemd/system/
|
|
|
|
cp vm-routes-creation.logrotate $(DESTDIR)/etc/logrotate.d/vm-routes-creation.conf
|