2
# /usr/lib/emacsen-common/packages/install/dash-el
4
# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily
5
# from the install scripts for gettext by Santiago Vila
6
# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
11
if [ ${FLAVOR} = emacs ]; then exit 0; fi
12
if [ ${FLAVOR} = xemacs21 ]; then exit 0; fi
14
echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
16
#FLAVORTEST=`echo $FLAVOR | cut -c-6`
17
#if [ ${FLAVORTEST} = xemacs ] ; then
18
# SITEFLAG="-no-site-file"
20
# SITEFLAG="--no-site-file"
22
FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
24
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
25
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
26
ELRELDIR=../../../emacs/site-lisp/${PACKAGE}
28
# Install-info-altdir does not actually exist.
29
# Maybe somebody will write it.
30
if test -x /usr/sbin/install-info-altdir; then
31
echo install/${PACKAGE}: install Info links for ${FLAVOR}
32
install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz
35
install -m 755 -d ${ELCDIR}
39
ln -sf ${ELRELDIR}/*.el .
42
(debian-pkg-add-load-path-item ".")
43
(setq byte-compile-warnings nil)
45
${FLAVOR} ${FLAGS} ${FILES}