summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 11:38:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 11:38:29 -0300
commitccb66d4ebeb8e2cb92db6b24d8bff283870c9d8e (patch)
treef5a201db481708415a366737170b0af2dac87046 /Makefile
parent84a1e7e56ed065cc4dadd8e8021694cf79b7eddd (diff)
downloadkeyringer-ccb66d4ebeb8e2cb92db6b24d8bff283870c9d8e.tar.gz
keyringer-ccb66d4ebeb8e2cb92db6b24d8bff283870c9d8e.tar.bz2
Changing default prefix and doc install folder (#11)
Diffstat (limited to 'Makefile')
-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