diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -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 |