summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-03-27 19:37:43 +0200
committerxengineering <me@xengineering.eu>2023-03-27 19:37:43 +0200
commite601eba8b204b101f9f0115b0b1201ef1a3a0635 (patch)
tree339507ddedf465078e58fee5225461576226abc9 /Makefile
parenteb86fbf4c88647bcc6aaa86660da58df96a72850 (diff)
downloadwebiot-e601eba8b204b101f9f0115b0b1201ef1a3a0635.tar
webiot-e601eba8b204b101f9f0115b0b1201ef1a3a0635.tar.zst
webiot-e601eba8b204b101f9f0115b0b1201ef1a3a0635.zip
Remove systemd-specific code
This source is targeted at all Linux-based operating systems. Since they are not all based on systemd the removed code should be re-introduced in packaging repositories for specific distributions.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2c6bde8..bf557f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,3 @@
-# vim: shiftwidth=4 tabstop=4 noexpandtab
-
DESTDIR="" # leave empty for the current system or provide a fakeroot here
PREFIX="/usr"
PROGRAM="webiot"
@@ -20,9 +18,6 @@ install: all
install -Dm 644 config.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
- install -Dm 644 systemd/$(PROGRAM).service $(DESTDIR)$(PREFIX)/lib/systemd/system/$(PROGRAM).service
- install -Dm 644 systemd/$(PROGRAM).sysusers $(DESTDIR)$(PREFIX)/lib/sysusers.d/$(PROGRAM).conf
debug:
go run *.go -c config.json -a appdata
-