From 77afd0dcd140c41185fa2a5cb155a0c9b7efb168 Mon Sep 17 00:00:00 2001 From: sashakoshka Date: Thu, 12 Dec 2024 01:10:35 -0500 Subject: [PATCH] Add install target for openrc init script --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 7b41aef..d211a8e 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,12 @@ install: install -Dm755 build/stepd $(DESTDIR)$(BINDIR)/stepd install -Dm755 build/step $(DESTDIR)$(BINDIR)/step +install-openrc: + install -Dm755 openrc/stepd /etc/init.d/stepd + uninstall: rm -f $(DESTDIR)$(BINDIR)/stepd rm -f $(DESTDIR)$(BINDIR)/step + rm -f /etc/init.d/stepd .PHONY: all check clean install uninstall