diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-05-29 18:39:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-05-29 18:39:23 +0100 |
commit | 7075a175aa176edbf57bc396f5571cd836e9879d (patch) | |
tree | 440c12f7b54a6093f1a0ef42d4156f0c5e340b66 /Makefile | |
parent | 27e91ccadc027a352548386b639aa5b475dedcf7 (diff) |
add openrc support
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 |