summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e49cd62..8f6948f 100644
--- a/Makefile
+++ b/Makefile
@@ -37,10 +37,14 @@ install_doc:
$(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) -D --mode=0644 share/man/keyringer.1 $(DESTDIR)/$(PREFIX)/share/man/man1/keyringer.1
+
+# TODO: zsh completion
+install_completion:
+ $(INSTALL) -D --mode=0644 lib/keyringer/completions/bash/keyringer $(DESTDIR)/$(PREFIX)/etc/bash_completion.d/keyringer
install: clean
- @make install_lib install_share install_bin install_doc install_man
+ @make install_lib install_share install_bin install_doc install_man install_completion
build_man:
pandoc -s -w man share/man/keyringer.1.mdwn -o share/man/keyringer.1