zenidrv-g203/Makefile
2021-07-19 13:47:37 +02:00

48 lines
1.7 KiB
Makefile

#################################
# Install zenidrv-g203 (q3aql) #
#################################
PREFIX=/usr
install:
mkdir -p ${PREFIX}/share/icons/logitech/
cp -rf images ${PREFIX}/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
install-es:
mkdir -p ${PREFIX}/share/icons/logitech/
cp -rf images ${PREFIX}/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 es-ES/zenidrv-g203 $(PREFIX)/bin
cp -rf es-ES/zenidrv-g203-admin $(PREFIX)/bin
cp -rf es-ES/zenidrv-g203-prodigy $(PREFIX)/bin
cp -rf es-ES/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
rm -rf $(PREFIX)/share/icons/logitech/images