X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/blobdiff_plain/818710a3e7595fbd09bfd43959c0d14515e1d4d6..HEAD:/Makefile diff --git a/Makefile b/Makefile index 57deaf8..28813ba 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,16 @@ all: - make -C kinect_upload_fw + $(MAKE) -C kinect_upload_fw install: - make -C kinect_upload_fw 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 - - # We prare the firmware location, but it should be downloaded at - # package installation time - install -d $(DESTDIR)/lib/firmware/kinect + ./kinect_patch_udev_rules \ + "$(FIRMWARE_PATH)" \ + "$(LOADER_PATH)" \ + "$(DESTDIR)/lib/udev/rules.d/55-kinect_audio.rules" -clean: - make -C kinect_upload_fw clean +clean: + $(MAKE) -C kinect_upload_fw clean