aboutsummaryrefslogtreecommitdiff
path: root/editors/semi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/semi/Makefile')
-rw-r--r--editors/semi/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/semi/Makefile b/editors/semi/Makefile
index 219e60b81a55..2e1d514c8d35 100644
--- a/editors/semi/Makefile
+++ b/editors/semi/Makefile
@@ -107,6 +107,11 @@ post-build:
@${MAKE} info-build
.endif
+pre-install:
+.if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS)
+ @${MAKE} mkdir-site-packages
+.endif
+
post-install:
@${MKDIR} -p ${PREFIX}/share/semi
@${TOUCH} ${PREFIX}/share/semi/${SEMI_COOKIE}
@@ -156,6 +161,11 @@ info-build-by-emacs:
done)
.endif
+mkdir-site-packages:
+ @(for i in ${EMACS_PACKAGES_SUBDIRS} ; do \
+ ${MKDIR} ${PREFIX}/${EMACS_PACKAGESDIR}/$${i} ; \
+ done)
+
doc-install:
@${MKDIR} ${PREFIX}/${SEMIDOCDIR}
@(cd ${WRKSRC} ; \