add DESTDIR in the makefile
This commit is contained in:
parent
640a61e8f8
commit
b3d9824e1e
20
Makefile
20
Makefile
|
@ -1,16 +1,16 @@
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(prefix)/sbin
|
mkdir -p $(DESTDIR)$(prefix)/sbin
|
||||||
mkdir -p $(prefix)/etc/proxmox-routing
|
mkdir -p $(DESTDIR)$(prefix)/etc/proxmox-routing
|
||||||
mkdir -p /etc/systemd/system/
|
mkdir -p $(DESTDIR)/etc/systemd/system/
|
||||||
mkdir -p /etc/logrotate.d/
|
mkdir -p $(DESTDIR)/etc/logrotate.d/
|
||||||
|
|
||||||
cp creationRoutesVM.sh $(prefix)/sbin/creationRoutesVM
|
cp creationRoutesVM.sh $(DESTDIR)$(prefix)/sbin/creationRoutesVM
|
||||||
cp inotify-triggered-vm-route-creation.sh $(prefix)/sbin/
|
cp inotify-triggered-vm-route-creation.sh $(DESTDIR)$(prefix)/sbin/
|
||||||
cp send-icmp.py $(prefix)/sbin/
|
cp send-icmp.py $(DESTDIR)$(prefix)/sbin/
|
||||||
|
|
||||||
cp creds.example $(prefix)/etc/proxmox-routing/creds
|
cp creds.example $(DESTDIR)$(prefix)/etc/proxmox-routing/creds
|
||||||
|
|
||||||
cp vm-route-creation.service /etc/systemd/system/
|
cp vm-route-creation.service $(DESTDIR)/etc/systemd/system/
|
||||||
cp vm-routes-creation.logrotate /etc/logrotate.d/
|
cp vm-routes-creation.logrotate $(DESTDIR)/etc/logrotate.d/
|
||||||
|
|
Loading…
Reference in a new issue