~ubuntu-branches/ubuntu/oneiric/ess/oneiric

« back to all changes in this revision

Viewing changes to debian/emacsen-install

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-08 16:52:27 UTC
  • mfrom: (1.2.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20101108165227-u844l0tlegcdn89k
Tags: 5.12-1
* New upstream version released today

* debian/emacen-startup: Follow suggestion by Kevin Ryde in #594750 and
  use debian-pkg-add-load-path-item as well; also improved emacsen-install
  script by using soft links instead of copies  (Closes: #594750)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
install -m 755 -d ${ELCDIR}
35
35
cd ${ELDIR}
36
36
FILES=$(ls -1 *.el | grep -vx 'ess.el')
37
 
cp ${FILES} ess.el ${ELCDIR}
 
37
## edd 08 Nov 2010 old code
 
38
#cp ${FILES} ess.el ${ELCDIR}
 
39
#cd ${ELCDIR}
 
40
## edd 08 Nov 2010 replaced by this (cf #594750)
38
41
cd ${ELCDIR}
 
42
for f in ${ELDIR}/*.el; do
 
43
    ln -sf $f .
 
44
done
39
45
 
40
46
cat << EOF > path.el
41
47
(setq load-path (cons "." load-path) byte-compile-warnings nil)
42
48
EOF
43
49
${FLAVOR} ${FLAGS} ${FILES}
44
50
${FLAVOR} ${FLAGS} ess.el
45
 
rm -f *.el path.el
 
51
#rm -f *.el path.el
46
52
 
47
53
exit 0