mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-10-31 10:21:48 +00:00
Added GO variable to Makefile
This commit is contained in:
1 parent
0608d1b84b
commit
139e64d682
1 file changed
+4
-1
@@ -7,10 +7,13 @@ endif
|
||||
ifeq ($(SYSCONFDIR),)
|
||||
SYSCONFDIR := $(PREFIX)/etc
|
||||
endif
|
||||
ifeq ($(GO),)
|
||||
GO := /usr/bin/go
|
||||
endif
|
||||
|
||||
build:
|
||||
mkdir -p build
|
||||
go build -o build/stormfetch stormfetch
|
||||
$(GO) build -o build/stormfetch stormfetch
|
||||
|
||||
install: build/stormfetch config/
|
||||
mkdir -p $(DESTDIR)$(BINDIR)
|
||||
|
||||
Reference in new issue
Block a user