aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-05 23:24:05 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-05 23:24:05 -0300
commit5811e07b6caca8023d823b8e7cf3eedc1dc1f8d9 (patch)
tree761fe9a3e67eb9f36d518e06a962f92cfcd8ded6 /Makefile
parent3e01335b6df32dbbc251aface2cb3e3bad61c05b (diff)
parentf91709c2abaa2b3011ef0b9799ce2fa010f9d534 (diff)
downloadkeyringer-5811e07b6caca8023d823b8e7cf3eedc1dc1f8d9.tar.gz
keyringer-5811e07b6caca8023d823b8e7cf3eedc1dc1f8d9.tar.bz2
Merge branch 'master' into debian
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8d98a67..d7ff5fb 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,8 @@
#
PACKAGE = keyringer
-VERSION = 0.1
-PREFIX = /usr
+VERSION = 0.2.3
+PREFIX ?= /usr/local
INSTALL = /usr/bin/install
clean:
@@ -33,8 +33,14 @@ 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_man:
+ $(INSTALL) -D --mode=0644 share/man/keyringer.1 $(DESTDIR)/$(PREFIX)/share/man/man1
install: clean
- @make install_lib install_share install_bin install_doc
+ @make install_lib install_share install_bin install_doc install_man
+
+build_man:
+ pandoc -s -w man share/man/keyringer.1.mdwn -o share/man/keyringer.1