diff options
author | cos <cos> | 2013-05-19 16:11:32 +0200 |
---|---|---|
committer | cos <cos> | 2013-05-19 16:11:32 +0200 |
commit | cd481a01174468188d23b9d544cb738471c7fb52 (patch) | |
tree | f84d9595128f5542a8a1b83d8a65ad7fcd1bc183 /debian/emacsen-install | |
parent | 43ad739ad0bc13c4be46ca1982a41acaa8b106a5 (diff) | |
download | ratpoison-cr/implement_gnumber_uglyhack.zip |
Obsoleted branch.cr/implement_gnumber_uglyhack
Please look at cr/implement_gnumber_hack instead.
Diffstat (limited to 'debian/emacsen-install')
-rw-r--r-- | debian/emacsen-install | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/debian/emacsen-install b/debian/emacsen-install deleted file mode 100644 index e9adcbd..0000000 --- a/debian/emacsen-install +++ /dev/null @@ -1,46 +0,0 @@ -#! /bin/sh -e -# /usr/lib/emacsen-common/packages/install/ratpoison - -# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily -# from the install scripts for gettext by Santiago Vila -# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. -# modified for ratpoison by Bernhard R. Link <brlink@debian.org> - -FLAVOR="$1" -PACKAGE=ratpoison -ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} -ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} -FILES=ratpoison-cmd.el - -if [ ${FLAVOR} = emacs ]; then - exit 0 -fi -for file in ${FILES} ; do - if [ ! -f ${ELDIR}/${file} ]; then - echo "Warning: missing file ${ELDIR}/${file}!" >&2 - exit 0 - fi -done - -echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} - -FLAVORTEST=`echo $FLAVOR | cut -c-6` -if [ ${FLAVORTEST} = xemacs ] ; then - SITEFLAG="-no-site-file" -else - SITEFLAG="--no-site-file" -fi -FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" - -install -m 755 -d ${ELCDIR} -cd ${ELDIR} -cp ${FILES} ${ELCDIR} -cd ${ELCDIR} - -cat << EOF > path.el -(setq load-path (cons "." load-path) byte-compile-warnings nil) -EOF -${FLAVOR} ${FLAGS} ${FILES} -rm -f *.el path.el - -exit 0 |