[zaptel-commits] file: branch 1.2 r1248 - /branches/1.2/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Jul 27 08:06:59 MST 2006


Author: file
Date: Thu Jul 27 10:06:58 2006
New Revision: 1248

URL: http://svn.digium.com/view/zaptel?rev=1248&view=rev
Log:
Use INSTALL_PREFIX when installing firmware (issue #7600 reported by jcollie)

Modified:
    branches/1.2/Makefile

Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/Makefile?rev=1248&r1=1247&r2=1248&view=diff
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Thu Jul 27 10:06:58 2006
@@ -368,10 +368,10 @@
 
 firmware:
 ifeq ($(HOTPLUG_FIRMWARE),yes)
-	if [ -d /usr/lib/hotplug/firmware ]; then \
-		install -m 644 *.ima /usr/lib/hotplug/firmware; \
-	elif [ -d /lib/firmware ]; then \
-		install -m 644 *.ima /lib/firmware; \
+	if [ -d $(INSTALL_PREFIX)/usr/lib/hotplug/firmware ]; then \
+		install -m 644 *.ima $(INSTALL_PREFIX)/usr/lib/hotplug/firmware; \
+	elif [ -d $(INSTALL_PREFIX)/lib/firmware ]; then \
+		install -m 644 *.ima $(INSTALL_PREFIX)/lib/firmware; \
 	fi
 	@echo "Installed firmware"
 else



More information about the zaptel-commits mailing list