mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-15 23:46:12 +00:00
Added GO variable to Makefile
This commit is contained in:
@@ -7,10 +7,13 @@ endif
|
|||||||
ifeq ($(SYSCONFDIR),)
|
ifeq ($(SYSCONFDIR),)
|
||||||
SYSCONFDIR := $(PREFIX)/etc
|
SYSCONFDIR := $(PREFIX)/etc
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(GO),)
|
||||||
|
GO := /usr/bin/go
|
||||||
|
endif
|
||||||
|
|
||||||
build:
|
build:
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
go build -o build/stormfetch stormfetch
|
$(GO) build -o build/stormfetch stormfetch
|
||||||
|
|
||||||
install: build/stormfetch config/
|
install: build/stormfetch config/
|
||||||
mkdir -p $(DESTDIR)$(BINDIR)
|
mkdir -p $(DESTDIR)$(BINDIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user