blob: e0380508272567f2f39ecd21c104ddfe9939c3fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
.POSIX:
MANDIR = /usr/share/man/man1
target = mpaste
all: ${target}
${target}: macros.m4 mpaste.go
m4 macros.m4 mpaste.go >tmp.go
go build tmp.go
mv tmp ${target}
rm tmp.go
docs:
>/dev/null command -v gzip && gzip -c9 mpaste.1 >${MANDIR}/mpaste.1.gz || \
cp mpaste.1 ${MANDIR}
clean:
rm -rf ${target} tmp.go counter files/
.PHONY: clean
|