diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-10-05 14:39:29 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-10-05 14:39:29 -0400 |
| commit | 621e78947eb1c4607ce8e6bf5ce133d4927b3cf2 (patch) | |
| tree | 68ec97f6bab3a68b16cc3c82ebee98caafc78ef6 /Makefile | |
| parent | e8d9040688925304edad469d92518da84e1b8d96 (diff) | |
Update service to use correct templates
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,7 @@ BIN:= nonsense-time SERVICE:= nonsense-time.service +STATIC := ./static/ +TEMPLATES := ./templates/ .PHONY: all test clean build install info @@ -8,7 +10,12 @@ all: build build: $(BIN) install: $(BIN) + rm -rf /usr/local/share/nonsense-time cp $(BIN) /usr/bin + cp $(SERVICE) /etc/systemd/system/ + mkdir /usr/local/share/nonsense-time + cp -r $(STATIC) /usr/local/share/nonsense-time + cp -r $(TEMPLATES) /usr/local/share/nonsense-time test: go test ./... |
