summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-09-18 13:36:34 +1200
committerDavid Phillips <david@sighup.nz>2017-09-18 13:36:34 +1200
commit10f5a954c61a30499a62640f93ef650050c61ba3 (patch)
tree090035fc7ce55db453c064c5811d464c4e29d025
parentf93969f5c111deedc3b5830f743807372beeb9e3 (diff)
downloadinitscripts-10f5a954c61a30499a62640f93ef650050c61ba3.tar.xz
Correct openrc directory path
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 44dd2b9..e5c107e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@ export OPENRC_DIR ?= /etc
MACRO_PROG = ./replace.sh
INIT_FILES = $(shell find init.d.in -type f | sed -e 's/\.in$$//g' -e 's/init\.d\.in/init.d/g')
CONF_FILES = $(shell find conf.d.in -type f | sed -e 's/\.in$$//g' -e 's/conf\.d\.in/conf.d/g')
-DEST_INIT_D = $(DESTDIR)/$(SYSCONFDIR)/init.d
-DEST_CONF_D = $(DESTDIR)/$(SYSCONFDIR)/conf.d
+DEST_INIT_D = $(DESTDIR)/$(OPENRC_DIR)/init.d
+DEST_CONF_D = $(DESTDIR)/$(OPENRC_DIR)/conf.d
all: $(INIT_FILES) $(CONF_FILES)