Stormfetch can now read config files in the directory specified with the Makefile SYSCONFDIR variable

This commit is contained in:
2024-06-20 21:23:50 +03:00
parent 7c493dc9f9
commit 8c380dbec4
4 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ endif
build:
mkdir -p build
$(GO) build -ldflags "-w" -o build/stormfetch stormfetch
$(GO) build -ldflags "-w -X 'main.systemConfigDir=$(SYSCONFDIR)'" -o build/stormfetch stormfetch
install: build/stormfetch config/
mkdir -p $(DESTDIR)$(BINDIR)