added really simple manpage to start
This commit is contained in:
parent
6fb9af5732
commit
c55f3cab10
|
@ -0,0 +1,21 @@
|
|||
PREFIX ?= /usr/local
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
MANDIR ?= $(PREFIX)/share/man/man1
|
||||
|
||||
install:
|
||||
@echo Installing the executable to $(BINDIR)
|
||||
@mkdir -p $(BINDIR)
|
||||
@install -m 755 lssh $(BINDIR)
|
||||
@echo Installing the manual page to $(MANDIR)/man1
|
||||
@mkdir -p $(MANDIR)
|
||||
@install -m 644 lssh.1 $(MANDIR)
|
||||
endif
|
||||
|
||||
uninstall:
|
||||
@echo Removing the executable from $(BINDIR)
|
||||
@rm -f $(BINDIR)/lssh
|
||||
@echo Removing the manual page from $(MANDIR)/man1
|
||||
@rm -f $(BINDIR)/man1/lssh.1
|
||||
endif
|
||||
|
||||
.PHONY: install uninstall
|
|
@ -0,0 +1,8 @@
|
|||
.TH LSSH 1 "18 Apr 2019" "version 2019.04.18"
|
||||
.SH NAME
|
||||
lssh \- a wrapper for Lastpass CLI and ssh-agent
|
||||
.SH SYNOPSIS
|
||||
lssh [options] [ssh-key]
|
||||
.SH DESRIPTION
|
||||
lssh quickly activates ssh-keys by name, filling passwords via Lastpass CLI, and
|
||||
adding them to ssh-agent. Keys are activated for 1-hour at a time.
|
Loading…
Reference in New Issue