[go: up one dir, main page]

File: utop.emacsen-install

package info (click to toggle)
utop 1.19.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 692 kB
  • ctags: 1,166
  • sloc: ml: 10,046; lisp: 877; makefile: 89; sh: 20
file content (28 lines) | stat: -rwxr-xr-x 679 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh -e
# /usr/lib/emacsen-common/packages/install/utop

# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily
# from the install scripts for gettext by Santiago Vila
# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.

FLAVOR=$1
PACKAGE=utop

if [ ${FLAVOR} = emacs ]; then exit 0; fi

echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}

FLAGS="${SITEFLAG} -q -batch -f batch-byte-compile"

EL=/usr/share/emacs/site-lisp/${PACKAGE}.el
ELCDIR=/usr/share/${FLAVOR}/site-lisp
ELREL=../../../emacs/site-lisp/${PACKAGE}.el

install -m 755 -d ${ELCDIR}
cd ${ELCDIR}
ln -sf ${ELREL} .

${FLAVOR} ${FLAGS} ${EL}
rm -f path.el

exit 0