The following patch allows Debian users to use find-library, find-function and
find-variable on planner-muse code.  It does this by leaving symlinks to the
source code in the bytecode directory.  The muse-el and slime packages behave
this way already.

diff -wpurNd /alt/cache/debianize-checkout/planner-muse/debian/emacsen-install /tmp/debianize-builddir/planner-muse/debian/emacsen-install
--- planner-muse/debian/emacsen-install	2005-10-25 01:39:23.000000000 +1000
+++ planner-muse/debian/emacsen-install	2005-10-25 17:30:19.107527536 +1000
@@ -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 "${ELDIR}/${i}"
+done
 
 cat << EOF > path.el
 (setq load-path (cons "." load-path) byte-compile-warnings nil)
 EOF
 ${FLAVOR} ${FLAGS} ${FILES} 2>&1 | gzip -9qf > CompilationLog.gz
-rm -f *.el path.el
+rm -f path.el
 
 exit 0
-- 
Trent Buck, Student Errant
_______________________________________________
emacs-wiki-discuss mailing list
emacs-wiki-discuss@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to