From: Antonio Ospite <ospite@studenti.unina.it>
Date: Tue, 19 Nov 2013 15:02:39 +0000 (+0100)
Subject: Makefile: misc fixes
X-Git-Tag: v0.3~6
X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/4638c183fc8b96c52f37a05b63487c09856fcda1?hp=-c

Makefile: misc fixes

Use $(MAKE) for recursive invocations, fix a typo s/prare/prepare/, and
fix wording in a comment.
---

4638c183fc8b96c52f37a05b63487c09856fcda1
diff --git a/Makefile b/Makefile
index 70ad841..ab467d3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,17 @@
 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 -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
+	# We prepare the firmware location, but the firmware binary should be
+	# downloaded at package installation time
 	install -d $(DESTDIR)/lib/firmware/kinect
 
 clean: 
-	make -C kinect_upload_fw clean
+	$(MAKE) -C kinect_upload_fw clean
 
 changelog:
 	git log --pretty="format:%ai  %aN  <%aE>%n%n%x09* %s%d%n" > ChangeLog