Set load-path during byte-compile to make sure that rsltc.el is found.
This commit is contained in:
parent
f580026efb
commit
d7c73d0e6e
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2008/10/11 09:31:55 uebayasi Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2009/08/05 09:47:50 minskim Exp $
|
||||
#
|
||||
|
||||
DISTNAME= rsltcsrc
|
||||
|
@ -22,11 +22,14 @@ USE_TOOLS+= gmake lex
|
|||
WRKSRC= ${WRKDIR}/rsl.2.4
|
||||
INSTALLATION_DIRS= bin
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/path.el ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/rsltc ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl
|
||||
(cd ${WRKSRC} ; for i in rsltc.el tokenise.el rslconvert.el rsl-mode.el ; do\
|
||||
${EMACS_BIN} -batch -f batch-byte-compile $$i ;\
|
||||
${EMACS_BIN} -batch -l path.el -f batch-byte-compile $$i ;\
|
||||
${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl ;\
|
||||
${INSTALL_DATA} $${i}c ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl ;\
|
||||
done)
|
||||
|
|
1
devel/rsltc/files/path.el
Normal file
1
devel/rsltc/files/path.el
Normal file
|
@ -0,0 +1 @@
|
|||
(setq load-path (cons "." load-path))
|
Loading…
Reference in a new issue