diff options
Diffstat (limited to 'editors/semi-emacs/Makefile')
-rw-r--r-- | editors/semi-emacs/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/semi-emacs/Makefile b/editors/semi-emacs/Makefile index c5af3f7c014b..2ed93b9c16a5 100644 --- a/editors/semi-emacs/Makefile +++ b/editors/semi-emacs/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} ; \ |