~egtann/shh

ref: v1.9.0 shh/Makefile -rw-r--r-- 309 bytes
53855162 — Evan Tann update install instructions, add man page 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
BINDIR?=/usr/local/bin
MANDIR?=/usr/local/man

shh:
	go build .

install: shh
	mkdir -m755 -p $(BINDIR) $(MANDIR)/man1
	cp man/man1/shh.1 $(MANDIR)/man1/
	mv shh /usr/local/bin/shh
.PHONY: install

clean:
	rm -f shh
.PHONY: clean

uninstall:
	rm -f $(BINDIR)/shh
	rm -f $(MANDIR)/man1/shh.1
.PHONY: uninstall