zenidrv-g203/Makefile

30 lines
1.0 KiB
Makefile
Raw Normal View History

2021-07-06 12:52:33 +02:00
#################################
# Install zenidrv-g203 (q3aql) #
#################################
PREFIX=/usr
install:
mkdir -p /usr/share/icons/logitech/
cp -rf icon/logitech-black.png $(PREFIX)/share/icons/logitech/
cp -rf icon/zenidrv-203.desktop $(PREFIX)/share/applications/
cp -rf g203-led.py $(PREFIX)/bin
cp -rf zenidrv-g203 $(PREFIX)/bin
cp -rf zenidrv-g203-admin $(PREFIX)/bin
cp -rf zenidrv-g203-prodigy $(PREFIX)/bin
cp -rf zenidrv-g203-lightsync $(PREFIX)/bin
chmod 755 $(PREFIX)/bin/g203-led.py
chmod 755 $(PREFIX)/bin/zenidrv-g203
chmod 755 $(PREFIX)/bin/zenidrv-g203-admin
chmod 755 $(PREFIX)/bin/zenidrv-g203-prodigy
chmod 755 $(PREFIX)/bin/zenidrv-g203-lightsync
uninstall:
rm -rf $(PREFIX)/bin/g203-led.py
rm -rf $(PREFIX)/bin/zenidrv-g203
rm -rf $(PREFIX)/bin/zenidrv-g203-admin
rm -rf $(PREFIX)/bin/zenidrv-g203-prodigy
rm -rf $(PREFIX)/bin/zenidrv-g203-lightsync
rm -rf $(PREFIX)/share/icons/logitech/logitech-black.png
rm -rf $(PREFIX)/share/applications/zenidrv-203.desktop