blob: ae7edc5c8ea2b2918dafc5c585df9b4776c85a9b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
ALL=htping
DESTDIR=
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man
all: $(ALL)
htping: htping.go
go build
clean: FRC
rm -f $(ALL)
install: FRC all
mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
install -m0755 $(ALL) $(DESTDIR)$(BINDIR)
install -m0644 $(ALL:=.1) $(DESTDIR)$(MANDIR)/man1
README: htping.1
mandoc -Tutf8 $< | col -bx >$@
FRC:
|