- commit
- eae6cec5c12cb4bac8fcc42f7c4192f9038b6c52
- parent
- e41f9da23fd881a99bca43a44b9283548f007958
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-09-22 04:31
Makefile: add install
Diffstat
| M | Makefile | 8 | ++++++++ |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
@@ -12,3 +12,11 @@ run: server 12 12 .PHONY: lint 13 13 lint: 14 14 gofmt -w *.go -1 15 -1 16 .PHONY: install -1 17 install: -1 18 install -Dm 755 server "${DESTDIR}/usr/bin/laneya" -1 19 install -Dm 644 index.html "${DESTDIR}/var/www/laneya/index.html" -1 20 install -Dm 644 static/main.js "${DESTDIR}/var/www/laneya/static/main.js" -1 21 install -Dm 644 static/style.css "${DESTDIR}/var/www/laneya/static/style.css" -1 22 install -Dm 644 README.md "${DESTDIR}/usr/share/doc/laneya/README.md"