From 160f2a35f809ce8ee0852c54376dd247f6676d6f Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 14 May 2023 17:59:20 +0200 Subject: [PATCH] Makefile: Adding install-scripts target. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 55d190b..4846e6b 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,9 @@ install: build install -D build/$(PROGRAM) $(DESTDIR)$(BINDIR)/$(PROGRAM) install -m 644 -D config.example.yml $(DESTDIR)$(CFGDIR)/config.yml +install-scripts: + install -m 755 -t $(DESTDIR) scripts/start.sh scripts/stop.sh + test: $(GO) test -v ./...