diff options
author | file <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-07-27 15:06:58 +0000 |
---|---|---|
committer | file <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-07-27 15:06:58 +0000 |
commit | 217fe2ce39d7fc83695f556bd3c3b760468e1c63 (patch) | |
tree | 11440b25c03f349494af9a045da0c85ec79dfc51 /Makefile | |
parent | 76cbb5a1c3a55305412fd820981bd54339af9358 (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-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |