Revision 3521,
820 bytes
checked in by munepi, 13 years ago
(diff) |
updated simple-hatena-mode-vl.spec: do not byte-compile simple-hatena-mode.el (simple-hatena-mode-install.sh)
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[778] | 1 | #! /bin/sh -e |
---|
| 2 | # /usr/lib/emacsen-common/packages/install/simple-hatena-mode |
---|
| 3 | |
---|
| 4 | FLAVOR=$1 |
---|
| 5 | PACKAGE=simple-hatena-mode |
---|
| 6 | |
---|
| 7 | FLAGS="${SITEFLAG} -q -batch -f batch-byte-compile" |
---|
| 8 | |
---|
| 9 | ELDIR="/usr/share/emacs/site-lisp/${PACKAGE}" |
---|
| 10 | ELCDIR="/usr/share/${FLAVOR}/site-lisp/${PACKAGE}" |
---|
| 11 | STARTDIR=/etc/${FLAVOR}/site-start.d |
---|
| 12 | STARTFILE="${PACKAGE}-init.el" |
---|
| 13 | |
---|
| 14 | SOURCES="simple-hatena-mode.el" |
---|
| 15 | |
---|
| 16 | case "${FLAVOR}" in |
---|
| 17 | emacs) |
---|
| 18 | ;; |
---|
| 19 | *) |
---|
| 20 | echo -n "install/${PACKAGE}: Byte-compiling for ${FLAVOR} ..." |
---|
| 21 | install -m 755 -d ${ELCDIR} |
---|
| 22 | cd ${ELDIR} |
---|
| 23 | cp *.el ${ELCDIR} |
---|
| 24 | FILES="${SOURCES}" |
---|
| 25 | cd ${ELCDIR} |
---|
[3521] | 26 | # ${FLAVOR} ${FLAGS} ${FILES} > ${ELCDIR}/CompilationLog 2>&1 |
---|
| 27 | # rm -f ${SOURCES} |
---|
| 28 | # gzip -9 ${ELCDIR}/CompilationLog |
---|
[778] | 29 | |
---|
| 30 | ln -sf ${ELDIR}/${STARTFILE} ${STARTDIR}/95${STARTFILE}; |
---|
| 31 | echo " done." |
---|
| 32 | ;; |
---|
| 33 | esac |
---|
| 34 | |
---|
| 35 | exit 0 ; |
---|
Note: See
TracBrowser
for help on using the repository browser.