Sha256: 03083a450a2b9ad7eade5b2cdd2eba46040bf3d464858f97ff87a004c3ce7db3

Contents?: true

Size: 604 Bytes

Versions: 602

Compression:

Stored size: 604 Bytes

Contents

#!/bin/sh
#
# emacsen install script for the Debian GNU/Linux puppet-el package

FLAVOR=$1
PACKAGE=puppet-el

ELDIR=/usr/share/emacs/site-lisp/
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
ELFILE="puppet-mode.el"
FLAGS="-batch -no-site-file -l path.el -f batch-byte-compile"

if [ ${FLAVOR} != emacs ]; then
  echo install/${PACKAGE}: Byte-compiling for ${FLAVOR}

  install -m 755 -d ${ELCDIR}
  cd ${ELDIR}
  cp ${ELFILE} ${ELCDIR}
  cd ${ELCDIR}
  cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
  ${FLAVOR} ${FLAGS} ${ELFILE}
  rm -f ${ELFILE} path.el
fi

Version data entries

602 entries across 602 versions & 3 rubygems

Version Path
puppet-6.24.0 ext/debian/puppet-el.emacsen-install
puppet-6.24.0-x86-mingw32 ext/debian/puppet-el.emacsen-install
puppet-6.24.0-x64-mingw32 ext/debian/puppet-el.emacsen-install
puppet-6.24.0-universal-darwin ext/debian/puppet-el.emacsen-install
puppet-7.9.0 ext/debian/puppet-el.emacsen-install
puppet-7.9.0-x86-mingw32 ext/debian/puppet-el.emacsen-install
puppet-7.9.0-x64-mingw32 ext/debian/puppet-el.emacsen-install
puppet-7.9.0-universal-darwin ext/debian/puppet-el.emacsen-install
puppet-6.23.0 ext/debian/puppet-el.emacsen-install
puppet-6.23.0-x86-mingw32 ext/debian/puppet-el.emacsen-install
puppet-6.23.0-x64-mingw32 ext/debian/puppet-el.emacsen-install
puppet-6.23.0-universal-darwin ext/debian/puppet-el.emacsen-install
puppet-7.8.0 ext/debian/puppet-el.emacsen-install
puppet-7.8.0-x86-mingw32 ext/debian/puppet-el.emacsen-install
puppet-7.8.0-x64-mingw32 ext/debian/puppet-el.emacsen-install
puppet-7.8.0-universal-darwin ext/debian/puppet-el.emacsen-install
puppet-7.7.0 ext/debian/puppet-el.emacsen-install
puppet-7.7.0-x86-mingw32 ext/debian/puppet-el.emacsen-install
puppet-7.7.0-x64-mingw32 ext/debian/puppet-el.emacsen-install
puppet-7.7.0-universal-darwin ext/debian/puppet-el.emacsen-install