aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 6d70e942f5d4d7876731a0ef13d08e66db7aad22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.POSIX:

PREFIX  = /usr
DPREFIX = ${DESTDIR}${PREFIX}
MANDIR  = ${DPREFIX}/share/man

all: mast
mast: mast.go
	go build

install:
	mkdir -p ${DPREFIX}/bin ${MANDIR}/man1
	cp mast ${DPREFIX}/bin
	cp mast.1 ${MANDIR}/man1

clean:
	rm -f mast