fix: Actually add install rule
diff --git a/Makefile b/Makefile index 76c271a2565bfb16b476e67c6268b9c395441f5b..cf9768dd5dcb8b369427fcd9369ddacf61d2ac0a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ -BIN=lens +BIN?=lens +PREFIX?=/usr/local +BINDIR?=$(PREFIX)/bin + OUT=./bin/$(BIN) SERVER=./cmd/server/main.go @@ -20,6 +23,9 @@ export endif all: build + +install: build + install -Dm755 $(OUT) $(BINDIR)/$(BIN) build: sass tmpl $(GO_BUILD) -o $(OUT) $(SERVER)