debian: Fix broken symlinking of emacs lisp files.

This broke when we changed from a single notmuch.el file
to multiple notmuch-foo.el files.
This commit is contained in:
Carl Worth 2010-04-06 16:28:01 -07:00
parent dfbec15b23
commit ba8ee48dcb

View file

@ -28,12 +28,14 @@ install -m 755 -d ${ELCDIR}
cd ${ELDIR}
FILES=`echo *.el`
cd ${ELCDIR}
ln -sf ${ELDIR}/${FILES} ${ELCDIR}
for file in ${FILES}; do
ln -sf ${ELDIR}/${file} .
done
cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
${FLAVOR} ${FLAGS} ${FILES}
rm -f path.el
rm -f *.el
exit 0