From 3a169c74caa79a01b319786ac6c5ff8947686a59 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 24 Mar 2024 11:30:56 +0100 Subject: Provide example and default configuration Those two configuration files should not be the same. The default configuration should be more or less empty while the example configuration should demonstrate the server's capabilities. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bf557f2..7ffa644 100644 --- a/Makefile +++ b/Makefile @@ -15,9 +15,9 @@ clean: install: all install -Dm 755 build/$(PROGRAM) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM) - install -Dm 644 config.json $(DESTDIR)/etc/$(PROGRAM)/config.json + install -Dm 644 config/default.json $(DESTDIR)/etc/$(PROGRAM)/config.json install -Dm 644 appdata/index.html.tmpl $(DESTDIR)$(PREFIX)/share/$(PROGRAM)/index.html.tmpl install -Dm 644 appdata/simple.css $(DESTDIR)$(PREFIX)/share/$(PROGRAM)/simple.css debug: - go run *.go -c config.json -a appdata + go run *.go -c config/example.json -a appdata -- cgit v1.2.3-70-g09d2