zenidrv-g203/Makefile

32 lines
1.1 KiB
Makefile
Raw Normal View History

2021-07-06 12:52:33 +02:00
#################################
# Install zenidrv-g203 (q3aql) #
#################################
PREFIX=/usr
install:
2021-07-07 13:29:46 +02:00
mkdir -p ${PREFIX}/share/icons/logitech/
cp -rf images ${PREFIX}/share/icons/logitech/
2021-07-06 12:52:33 +02:00
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
2021-07-07 13:29:46 +02:00
rm -rf $(PREFIX)/share/icons/logitech/images