From: Antonio Ospite Date: Sat, 9 Jan 2016 12:25:26 +0000 (+0100) Subject: Makefile: don't install the udev rules automatically in the install target X-Git-Tag: v0.5~4 X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/4f1bfef74259d02ed6bc0166276cb12e1ecc17b8?hp=4b78a26f654bd3bb66980056d7db05f73b95c781 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. --- 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