apkdoc @ 1507d12b6398448c53bdffe18a32018a3ef627e7

feat: Add install rule
diff --git a/Makefile b/Makefile
index 0c1a1f65bd08e64ab7d5342576176d22fc145fbf..820d664c3a9d5875b396eff4cfd668ccd0834690 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
+PREFIX ?= /usr/local
+BINDIR ?= $(PREFIX)/bin
 BIN?=apkdoc
+OUT=./bin/$(BIN)
 GO_RUN?= go run -v
 GO_BUILD?= go build -v
 
@@ -9,8 +12,11 @@ 	$(GO_RUN) .
 
 build: tmpl
 	$(GO_BUILD) \
-		-o bin/$(BIN) \
+		-o $(OUT) \
 		.
+
+install: build
+	install -Dm755 $(OUT) $(BINDIR)/$(BIN)
 
 tmpl:
 	cd ./templates && \