ip2e/Makefile

28 lines
908 B
Makefile
Raw Normal View History

2021-04-03 18:10:27 +02:00
####################################################
# Installing ip2e #
####################################################
2015-10-27 12:19:42 +01:00
PREFIX=/usr
install:
2021-04-03 18:10:27 +02:00
cp src/ip2e-daemon.py $(PREFIX)/bin
cp src/ip2e-config.py $(PREFIX)/bin
cp src/ip2e-log.py $(PREFIX)/bin
cp src/ip2e.desktop $(PREFIX)/share/applications
cp src/ip2e-config.desktop $(PREFIX)/share/applications
2015-11-15 16:48:01 +01:00
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