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

MANDIR	= /usr/share/man/man1
target	= mpaste

all: ${target}
${target}: mpaste.go
	go build

docs:
	>/dev/null command -v gzip && gzip -c9 mpaste.1 >${MANDIR}/mpaste.1.gz || \
		cp mpaste.1 ${MANDIR}

clean:
	rm -rf ${target} counter files/
.PHONY: clean