From 820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 24 Mar 2024 21:07:44 +0100 Subject: 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. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2