summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-27 15:06:58 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-27 15:06:58 +0000
commit217fe2ce39d7fc83695f556bd3c3b760468e1c63 (patch)
tree11440b25c03f349494af9a045da0c85ec79dfc51 /Makefile
parent76cbb5a1c3a55305412fd820981bd54339af9358 (diff)
Use INSTALL_PREFIX when installing firmware (issue #7600 reported by jcollie)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1248 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 06a89da..90a360e 100644
--- a/Makefile
+++ b/Makefile
@@ -368,10 +368,10 @@ install-udev: devices
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