Makefile: don't install the udev rules automatically in the install target
[kinect-audio-setup.git] / Makefile
index b3b755d..7675311 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,14 @@ 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:
        $(MAKE) -C kinect_upload_fw clean