blob: 1d5a624110a325e4e03a22a7e5a8ab1e3738d3bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
PREFIX = /usr/local
DPREFIX = ${DESTDIR}${PREFIX}
target = gsp
sources = main.go \
formatter/formatter.go \
parser/errors.go \
parser/parser.go \
parser/reader.go
all: ${target}
gsp: ${sources}
go build
install:
mkdir -p ${DPREFIX}/bin ${DPREFIX}/share/man/man1
cp ${target} ${DPREFIX}/bin
cp ${target}.1 ${DPREFIX}/share/man/man1
|