README: document how to install the udev rules
[kinect-audio-setup.git] / Makefile
index fc1dc73..7675311 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,16 @@ all:
 
 install:
        $(MAKE) -C kinect_upload_fw install
+
+install_udev_rules:
        install -d $(DESTDIR)/lib/udev/rules.d
        install -m 644 contrib/55-kinect_audio.rules.in $(DESTDIR)/lib/udev/rules.d/55-kinect_audio.rules
+       ./kinect_patch_udev_rules \
+         "$(FIRMWARE_PATH)" \
+         "$(LOADER_PATH)" \
+         "$(DESTDIR)/lib/udev/rules.d/55-kinect_audio.rules"
 
-clean: 
+clean:
        $(MAKE) -C kinect_upload_fw clean
 
 changelog: