aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files 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