makefile and man
This commit is contained in:
parent
6712ebfae9
commit
9241d2f96d
23
Makefile
Normal file
23
Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
# sshin - ssh in
|
||||
# See LICENSE file for copyright and license details.
|
||||
|
||||
# paths
|
||||
PREFIX = /home/${USER}/.local
|
||||
MANPREFIX = $(PREFIX)/share/man
|
||||
SHELL = bash
|
||||
|
||||
SRC = drw.c dmenu.c stest.c util.c
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
||||
all: install
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
cp sshin $(PREFIX)/bin
|
||||
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||
cp sshin.1 $(DESTDIR)$(MANPREFIX)/man1
|
||||
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/sshin
|
||||
rm -f $(DESTDIR)$(MANPREFIX)/man1/sshin.1
|
20
sshin.1
Normal file
20
sshin.1
Normal file
|
@ -0,0 +1,20 @@
|
|||
.\" Manpage for sshin - ssh in
|
||||
.\" Contact marco@raber.me to correct errors or typos.
|
||||
.TH man 8 "27 April 2022" "1.0" "sshin man page"
|
||||
.SH NAME
|
||||
sshin \- ssh in(to a machine)
|
||||
.SH SYNOPSIS
|
||||
sshin [USER] [last byte of IP address OR hostname]
|
||||
.SH DESCRIPTION
|
||||
sshin is a script that simplifies ssh connection. NO MORE REACHING FOR THE @ SYMBOL USED BY THE UTTERLY DERANGED
|
||||
.SH OPTIONS
|
||||
sshin options:
|
||||
.TP
|
||||
.B \-h
|
||||
Display help
|
||||
.SH SEE ALSO
|
||||
ssh
|
||||
.SH BUGS
|
||||
eh ditemeli voi
|
||||
.SH AUTHOR
|
||||
Marco Raber (marco@raber.me)
|
Loading…
Reference in New Issue
Block a user