~egtann/shh

ref: 4b34460ac73345ce71342d2386b78a565b3c8386 shh/Makefile -rw-r--r-- 321 bytes
4b34460a — Evan Tann split make and make install 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
GOPATH?=$(USER)/go
BINDIR?=$(GOPATH)/bin
MANDIR?=/usr/local/man

$(BINDIR)/shh:
	go get -u egt.run/shh

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

clean:
	rm -f shh
.PHONY: clean

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