mirror of
https://github.com/EnumeratedDev/typer.git
synced 2026-09-16 05:36:10 +00:00
Add build-time system config directory variable
This commit is contained in:
@@ -8,7 +8,7 @@ GO ?= $(shell which go)
|
||||
|
||||
build:
|
||||
mkdir -p build
|
||||
cd src/; $(GO) build -ldflags "-w" -o ../build/typer
|
||||
cd src/; $(GO) build -ldflags "-w -X 'main.sysconfdir=$(SYSCONFDIR)'" -o ../build/typer
|
||||
|
||||
install: build/typer
|
||||
# Create directories
|
||||
@@ -24,4 +24,4 @@ uninstall:
|
||||
clean:
|
||||
rm -r build/
|
||||
|
||||
.PHONY: build
|
||||
.PHONY: build
|
||||
|
||||
Reference in New Issue
Block a user