From b264745e74cc39a4b814e2e747513754a0f1b3ee Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 7 Dec 2024 23:00:58 +0200 Subject: provide make command to install udev rules + I guess it's kind of silly to require people to create and populate files manually, no clue why I haven't done this before --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 86c2a51..b0f06e8 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,10 @@ install: deps/hid-tminit $(MAKE) -C $(KDIR) M=$(shell pwd) modules_install depmod -A +.PHONY: udev-rules +udev-rules: + install -m 0644 udev/99-thrustmaster.rules /etc/udev/rules.d/ + clean: deps/hid-tminit $(MAKE) -C $(KDIR) M=$(shell pwd) clean -- cgit v1.3