From ccb66d4ebeb8e2cb92db6b24d8bff283870c9d8e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 25 Aug 2013 11:38:29 -0300 Subject: Changing default prefix and doc install folder (#11) --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2f2e961..a24d442 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ PACKAGE = keyringer VERSION = 0.1 -PREFIX = /usr +PREFIX ?= /usr/local INSTALL = /usr/bin/install clean: @@ -33,8 +33,8 @@ install_bin: $(INSTALL) -D --mode=0755 keyringer $(DESTDIR)/$(PREFIX)/bin/keyringer install_doc: - $(INSTALL) -D --mode=0644 README $(DESTDIR)/$(PREFIX)/doc/$(PACKAGE)/README - $(INSTALL) -D --mode=0644 LICENSE $(DESTDIR)/$(PREFIX)/doc/$(PACKAGE)/LICENSE + $(INSTALL) -D --mode=0644 README $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE)/README + $(INSTALL) -D --mode=0644 LICENSE $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE)/LICENSE install: clean @make install_lib install_share install_bin install_doc -- cgit v1.2.3