From f19b50d205d9b383d1c8ffee2b2bac7aff031e9d Mon Sep 17 00:00:00 2001 From: file Date: Thu, 27 Jul 2006 15:08:22 +0000 Subject: 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 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7ffb6cd..ab12359 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3