aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorTrent Buck <trentbuck@gmail.com>2005-10-27 17:27:00 +0000
committerTrent Buck <trentbuck@gmail.com>2005-10-27 17:27:00 +0000
commit72a409fb89cce29c8ee73c27f0d0f9dccdec7cfc (patch)
tree39072a7063211fc1661e21fc5ff50d1449a50ba1 /debian
parenta6eb415ef08cfdcc2b893b33bb6b69abfe0f0c32 (diff)
debian/emms.emacs-install: Leave symlinks in bytecode dir for find-library/function/variable.
darcs-hash:20051027172739-8f417-989397150707d7252d25a8c2af2b7c928a045eaf.gz
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/emms.emacsen-install6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/emms.emacsen-install b/debian/emms.emacsen-install
index cbbab73..382eed7 100755
--- a/debian/emms.emacsen-install
+++ b/debian/emms.emacsen-install
@@ -33,13 +33,15 @@ fi
install -m 755 -d ${ELCDIR}
cd ${ELDIR}
FILES=`echo *.el`
-cp ${FILES} ${ELCDIR}
cd ${ELCDIR}
+for i in ${FILES}; do
+ ln -fs "/usr/share/emacs/site-lisp/${PACKAGE}/${i}"
+done
cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
${FLAVOR} ${FLAGS} ${FILES}
-rm -f *.el path.el
+rm -f path.el
exit 0