1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

Update make install (add ln g410-led, g610-led and g910-led

This commit is contained in:
MatMoul 2017-01-05 00:42:34 +01:00
parent 3762d5b653
commit b12946759d

View File

@ -23,12 +23,9 @@ install:
@sudo cp sample_profiles/* /etc/$(PROGN)/samples @sudo cp sample_profiles/* /etc/$(PROGN)/samples
@sudo cp udev/$(PROGN).rules /etc/udev/rules.d @sudo cp udev/$(PROGN).rules /etc/udev/rules.d
@sudo cp bin/$(PROGN) /usr/bin @sudo cp bin/$(PROGN) /usr/bin
@sudo rm /usr/bin/g410-led @sudo test -s /usr/bin/g410-led || sudo ln -s /usr/bin/$(PROGN) /usr/bin/g410-led
@sudo rm /usr/bin/g610-led @sudo test -s /usr/bin/g610-led || sudo ln -s /usr/bin/$(PROGN) /usr/bin/g610-led
@sudo rm /usr/bin/g910-led @sudo test -s /usr/bin/g910-led || sudo ln -s /usr/bin/$(PROGN) /usr/bin/g910-led
@sudo ln -s /usr/bin/$(PROGN) /usr/bin/g410-led
@sudo ln -s /usr/bin/$(PROGN) /usr/bin/g610-led
@sudo ln -s /usr/bin/$(PROGN) /usr/bin/g910-led
@sudo test -s /etc/$(PROGN)/profile || sudo cp /etc/$(PROGN)/samples/group_keys /etc/$(PROGN)/profile @sudo test -s /etc/$(PROGN)/profile || sudo cp /etc/$(PROGN)/samples/group_keys /etc/$(PROGN)/profile
@sudo test -s /etc/$(PROGN)/reboot || sudo cp /etc/$(PROGN)/samples/all_off /etc/$(PROGN)/reboot @sudo test -s /etc/$(PROGN)/reboot || sudo cp /etc/$(PROGN)/samples/all_off /etc/$(PROGN)/reboot
@sudo cp systemd/$(PROGN).service /lib/systemd/system @sudo cp systemd/$(PROGN).service /lib/systemd/system