diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-08-19 16:42:00 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-08-19 16:42:00 +0200 |
commit | 6531b1c0a720a63ee3127f9a09f14ba861838b01 (patch) | |
tree | 0e3cd141d212404651bf3b54e608631ed32182d4 /Makefile | |
parent | f9f627e179b40466cf219cf87793d783611b407e (diff) | |
download | lens-6531b1c0a720a63ee3127f9a09f14ba861838b01.tar.gz lens-6531b1c0a720a63ee3127f9a09f14ba861838b01.tar.bz2 lens-6531b1c0a720a63ee3127f9a09f14ba861838b01.zip |
fix: Actually add install rule
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,7 @@ -BIN=lens +BIN?=lens +PREFIX?=/usr/local +BINDIR?=$(PREFIX)/bin + OUT=./bin/$(BIN) SERVER=./cmd/server/main.go @@ -21,6 +24,9 @@ endif all: build +install: build + install -Dm755 $(OUT) $(BINDIR)/$(BIN) + build: sass tmpl $(GO_BUILD) -o $(OUT) $(SERVER) |