summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b37de6b..2bbcc8e 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,9 @@ include ${MK}/dist.mk
include ${MK}/git.mk
_installafter:
-ifneq ($(OS),Linux)
+ifeq (${MKPREFIX},yes)
+ ${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/init.d
+ else ifneq (${OS},Linux)
${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/init.d
endif
${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/tmp