[PATCH] Makefile: don't hardcode the path to 'install'

Tom Gundersen teg at jklm.no
Wed Mar 14 09:06:26 EDT 2012


In Arch Linux we currently use /bin/install rather than
/usr/bin/install. This change work with both locations and
avoids us having to change the Makefile.

Cc: Dominik Brodowski <linux at dominikbrodowski.net>
Signed-off-by: Tom Gundersen <teg at jklm.no>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 9d538a9..ea44bb6 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ sbindir =	${exec_prefix}/sbin
 mandir =	${prefix}/usr/share/man
 udevdir =	${prefix}/lib/udev
 
-INSTALL = /usr/bin/install -c
+INSTALL = install -c
 INSTALL_PROGRAM = ${INSTALL}
 INSTALL_DATA  = ${INSTALL} -m 644
 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
-- 
1.7.9.4




More information about the linux-pcmcia mailing list