diff options
author | Shigeyuki Fukushima <shige@FreeBSD.org> | 2001-12-06 17:31:46 +0000 |
---|---|---|
committer | Shigeyuki Fukushima <shige@FreeBSD.org> | 2001-12-06 17:31:46 +0000 |
commit | b184ed724522ed7d50f62041748b9ec80289e723 (patch) | |
tree | c40c505ad17193d14d79533f67f214b239f29ce2 /editors/emacs20-mule-devel | |
parent | o add missing USE_GNOMELIBS (diff) |
Byte-compile mule.el by mule-20.7 itself.
And dump emacs(mule-20.7) with using new-byte-compiled mule.elc.
Notes
Notes:
svn path=/head/; revision=51152
Diffstat (limited to 'editors/emacs20-mule-devel')
-rw-r--r-- | editors/emacs20-mule-devel/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/editors/emacs20-mule-devel/Makefile b/editors/emacs20-mule-devel/Makefile index 81c91e299dbd..7d79e0659fc1 100644 --- a/editors/emacs20-mule-devel/Makefile +++ b/editors/emacs20-mule-devel/Makefile @@ -80,10 +80,21 @@ pre-patch: pre-build: @${RM} -rf ${WRKSRC}/info/* @${LN} -sf DOC ${WRKSRC}/etc/${DOC_FILE} + +post-build: +# NEED twice times byte-compile mule.elc. + @(cd ${WRKSRC}/lisp ; \ + ${WRKSRC}/src/emacs -batch -q -no-init-file \ + -f batch-byte-compile ${MULE_PATCHED_ELS} ; \ + ) + @${RM} -f ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VER}* + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) @(cd ${WRKSRC}/lisp ; \ - ${PREFIX}/bin/emacs-${EMACS_VER} -batch -q -f \ - batch-byte-compile ${MULE_PATCHED_ELS} ; \ + ${WRKSRC}/src/emacs -batch -q -no-init-file \ + -f batch-byte-compile ${MULE_PATCHED_ELS} ; \ ) + @${RM} -f ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VER}* + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) do-install: # Install ${MULE} binary. |