mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 17:26:11 +00:00
Update make install (add ln g410-led, g610-led and g910-led
This commit is contained in:
parent
3f92a41d31
commit
3762d5b653
9
makefile
9
makefile
@ -23,9 +23,12 @@ 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 ln -s /usr/bin/g810-led /usr/bin/g410-led
|
@sudo rm /usr/bin/g410-led
|
||||||
@sudo ln -s /usr/bin/g810-led /usr/bin/g610-led
|
@sudo rm /usr/bin/g610-led
|
||||||
@sudo ln -s /usr/bin/g810-led /usr/bin/g910-led
|
@sudo rm /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
|
||||||
|
Loading…
Reference in New Issue
Block a user