aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-12-07 23:00:58 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-12-07 23:00:58 +0200
commitb264745e74cc39a4b814e2e747513754a0f1b3ee (patch)
tree3cae034de8cfa4e7f4a80a43d7311cbacb9ffbab /Makefile
parent412eac28061e9b2ce60c3eef60d4e80a4d892c7b (diff)
downloadhid-tmff2-b264745e74cc39a4b814e2e747513754a0f1b3ee.tar.gz
hid-tmff2-b264745e74cc39a4b814e2e747513754a0f1b3ee.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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