X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/blobdiff_plain/4638c183fc8b96c52f37a05b63487c09856fcda1..refs/heads/master:/Makefile

diff --git a/Makefile b/Makefile
index ab467d3..28813ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,16 @@
 all:
-	$(MAKE) -C kinect_upload_fw 
+	$(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 prepare the firmware location, but the firmware binary 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: 
+clean:
 	$(MAKE) -C kinect_upload_fw clean
-
-changelog:
-	git log --pretty="format:%ai  %aN  <%aE>%n%n%x09* %s%d%n" > ChangeLog