summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-03-24 21:07:44 +0100
committerxengineering <me@xengineering.eu>2024-03-24 21:12:56 +0100
commit820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8 (patch)
tree3bd344625e592fc6adc9b949a894116421307bb4 /Makefile
parentce3a2dd68707c5c744aa019417baa12f1dab96e4 (diff)
downloadwebiot-820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8.tar
webiot-820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8.tar.zst
webiot-820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8.zip
Replace appdata completely by embed package
The embed package makes it useless to handle static files from the source tree during runtime. All those files go simply to the embed.FS variable and are thus embedded into the binary which is easier to handle.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index de7e4f3..c112fd9 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,6 @@ clean:
install: all
install -Dm 755 build/$(PROGRAM) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)
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
debug:
- go run *.go -c config/example.json -a appdata
+ go run *.go -c config/example.json