|
|
@ -14,12 +14,15 @@ if [ ${FLAVOR} != emacs ]; then
|
|
|
|
echo install/${PACKAGE}: Byte-compiling for ${FLAVOR}
|
|
|
|
echo install/${PACKAGE}: Byte-compiling for ${FLAVOR}
|
|
|
|
|
|
|
|
|
|
|
|
install -m 755 -d ${ELCDIR}
|
|
|
|
install -m 755 -d ${ELCDIR}
|
|
|
|
cd ${ELDIR}
|
|
|
|
|
|
|
|
cp ${ELFILE} ${ELCDIR}
|
|
|
|
# Source file symlink (emacsen policy 5C)
|
|
|
|
|
|
|
|
ln -s "${ELDIR}/${ELFILE}" "${ELCDIR}/${ELFILE}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Compile cmake-mode.el
|
|
|
|
cd ${ELCDIR}
|
|
|
|
cd ${ELCDIR}
|
|
|
|
cat << EOF > path.el
|
|
|
|
cat << EOF > path.el
|
|
|
|
(setq load-path (cons "." load-path) byte-compile-warnings nil)
|
|
|
|
(setq load-path (cons "." load-path) byte-compile-warnings nil)
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
${FLAVOR} ${FLAGS} ${ELFILE}
|
|
|
|
${FLAVOR} ${FLAGS} ${ELFILE}
|
|
|
|
rm -f ${ELFILE} path.el
|
|
|
|
rm -f path.el
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|