diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,6 +8,7 @@ BINDIR ?= /bin LIBEXECDIR ?= /usr/libexec SYSCONFDIR ?= /etc SYSTEMD_UNITDIR ?= $(LIBDIR)/systemd/system +OPENRC_INITDIR ?= $(SYSCONFDIR)/init.d all: for d in $(SUBDIRS); do $(MAKE) -C $$d; done @@ -19,6 +20,9 @@ install: for d in $(SUBDIRS); do $(MAKE) -C $$d install; done install -d $(DESTDIR)/$(LIBEXECDIR) - install -m 0755 redcorelive.sh $(DESTDIR)/$(LIBEXECDIR)/ + install -m 0755 redcorelive-systemd.sh $(DESTDIR)/$(LIBEXECDIR)/ + install -m 0755 redcorelive-openrc.sh $(DESTDIR)/$(LIBEXECDIR)/ install -d $(DESTDIR)/$(SYSTEMD_UNITDIR)/ install -m 0644 redcorelive.service $(DESTDIR)/$(SYSTEMD_UNITDIR)/ + install -d $(DESTDIR)/$(OPENRC_INITDIR)/ + install -m 0755 redcorelive.initd $(DESTDIR)/${OPENRC_INITDIR}/redcorelive |