Powered by Linux
[RFC] Makefile: use '/usr/local' as prefix — Semantic Matching Tool

[RFC] Makefile: use '/usr/local' as prefix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was very surprised to find '~/share' and alike after running 'make
install'. Let's change to something more common.

Signed-off-by: Wolfram Sang <wolfram@xxxxxxxxxxxxx>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index cfd6e0c..c456c07 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ BASIC_CFLAGS += -Wp,-MD,$(@D)/.$(@F).d
 endif
 
 DESTDIR=
-PREFIX=$(HOME)
+PREFIX=/usr/local
 BINDIR=$(PREFIX)/bin
 LIBDIR=$(PREFIX)/lib
 MANDIR=$(PREFIX)/share/man
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe smatch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux