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

This commit is contained in:
EnumDev committed 2024-06-20 21:23:50 +03:00
1 parent 7c493dc9f9
commit 8c380dbec4
4 files changed
+13 -11

No files matched your search

+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)