From 4f1bfef74259d02ed6bc0166276cb12e1ecc17b8 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 9 Jan 2016 13:25:26 +0100 Subject: [PATCH] Makefile: don't install the udev rules automatically in the install target Also use kinect_patch_udev_rules to be able to patch the udev rules tile after installing it. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b3b755d..7675311 100644 --- 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 -- 2.1.4