diff options
| -rw-r--r-- | Makefile | 8 | 
1 files changed, 7 insertions, 1 deletions
| @@ -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,9 +12,12 @@ run: tmpl  build: tmpl  	$(GO_BUILD) \ -		-o bin/$(BIN) \ +		-o $(OUT) \  		. +install: build +	install -Dm755 $(OUT) $(BINDIR)/$(BIN) +  tmpl:  	cd ./templates && \  	qtc * | 
