diff options
author | file <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-07-27 15:08:22 +0000 |
---|---|---|
committer | file <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-07-27 15:08:22 +0000 |
commit | f19b50d205d9b383d1c8ffee2b2bac7aff031e9d (patch) | |
tree | e6bd5290082544a70ecb0b7677656c050098bee9 /Makefile | |
parent | 52f93befd32027ef712e0efd5f6f720f7886bc78 (diff) |
Merged revisions 1248 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r1248 | file | 2006-07-27 11:06:58 -0400 (Thu, 27 Jul 2006) | 2 lines
Use INSTALL_PREFIX when installing firmware (issue #7600 reported by jcollie)
........
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1249 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -422,10 +422,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 |