apkdoc @ a21602a450217333a27419d8168865b21fae6e7e

 1PREFIX ?= /usr/local
 2BINDIR ?= $(PREFIX)/bin
 3BIN?=apkdoc
 4OUT=./bin/$(BIN)
 5GO_RUN?= go run -v
 6GO_BUILD?= go build -v
 7
 8all: build
 9
10run: tmpl
11	$(GO_RUN) .
12
13build:
14	$(GO_BUILD) \
15		-o $(OUT) \
16		.
17
18install: build
19	install -Dm755 $(OUT) $(BINDIR)/$(BIN)