2015-11-15 16:48:01 +01:00
|
|
|
#################################################################
|
|
|
|
# Installing ip2e #
|
|
|
|
#################################################################
|
2015-10-27 12:19:42 +01:00
|
|
|
|
|
|
|
PREFIX=/usr
|
|
|
|
|
|
|
|
install:
|
|
|
|
cp ip2e-daemon.py $(PREFIX)/bin
|
|
|
|
cp ip2e-config.py $(PREFIX)/bin
|
|
|
|
cp ip2e-log.py $(PREFIX)/bin
|
2015-11-15 16:48:01 +01:00
|
|
|
cp desktop/ip2e.desktop $(PREFIX)/share/applications
|
|
|
|
cp desktop/ip2e-config.desktop $(PREFIX)/share/applications
|
|
|
|
cp icon/ip2e.png $(PREFIX)/share/icons
|
2015-10-27 12:19:42 +01:00
|
|
|
chmod +x $(PREFIX)/bin/ip2e-daemon.py
|
|
|
|
chmod +x $(PREFIX)/bin/ip2e-config.py
|
|
|
|
chmod +x $(PREFIX)/bin/ip2e-log.py
|
2015-11-15 16:48:01 +01:00
|
|
|
chmod +x $(PREFIX)/share/applications/ip2e.desktop
|
|
|
|
chmod +x $(PREFIX)/share/applications/ip2e-config.desktop
|
2015-10-27 12:19:42 +01:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm $(PREFIX)/bin/ip2e-daemon.py
|
|
|
|
rm $(PREFIX)/bin/ip2e-config.py
|
|
|
|
rm $(PREFIX)/bin/ip2e-log.py
|
2015-11-15 16:48:01 +01:00
|
|
|
rm $(PREFIX)/share/applications/ip2e.desktop
|
|
|
|
rm $(PREFIX)/share/applications/ip2e-config.desktop
|
|
|
|
rm $(PREFIX)/share/icons/ip2e.png
|
2015-10-27 12:19:42 +01:00
|
|
|
|