diff options
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 ./... |
