summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-03-24 11:30:56 +0100
committerxengineering <me@xengineering.eu>2024-03-24 11:30:56 +0100
commit3a169c74caa79a01b319786ac6c5ff8947686a59 (patch)
treec1bfe30bcd4ec83eccb8b9adc522a46cfcbd2f53 /Makefile
parentbc1a0ba75311ea2d53f2cbd3e305b31a561fdafc (diff)
downloadwebiot-3a169c74caa79a01b319786ac6c5ff8947686a59.tar
webiot-3a169c74caa79a01b319786ac6c5ff8947686a59.tar.zst
webiot-3a169c74caa79a01b319786ac6c5ff8947686a59.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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