tags 393957 patch thanks On October 18, 2006 at 1:33PM -0400, jjfoerch (at earthlink.net) wrote:
> Package: w3m-el > Version: 1.4.4-1 > Severity: wishlist > > I would like for the w3m-el package to install the el source > files in addition to the compiled elc files. While I > recognize that this source code is in the debian source > repositories, I think it is entirely appropriate, and even > desirable for emacs libraries to include their own source, > given the seemless integration of source in emacs with > `find-function', a command I use often to help me customize > emacs. find-function, of course, will only find the source > code if it is in the correct location in the emacs install, > and putting source code in that place is not, as far as I > know, a capability of `apt-get source'. The attached patch should close this bug. Thanks, -- Tatsuya Kinoshita
--- w3m-el-1.4.4-2/debian/emacsen-install
+++ w3m-el-1.4.4/debian/emacsen-install
@@ -17,6 +17,7 @@
install -m 755 -d ${ELCDIR}
install -m 755 -d ${ELCDIR}/shimbun
+rm -f ${ELCDIR}/*.el ${ELCDIR}/shimbun/*.el
case ${FLAVOR} in
xemacs*)
@@ -73,6 +74,13 @@
${FLAVOR} ${FLAGS} -f w3mhack-compile 2>&1 | gzip -9 > CompilationLog.gz
rm -f `ls -1 *.el | grep -v 'w3m-\(kwds\|load\).el'` path.el shimbun/*.el
path.elc
+(for d in "" "/shimbun"; do
+ cd ${ELDIR}$d
+ for f in *.el; do
+ ln -fs ${ELDIR}$d/$f ${ELCDIR}$d
+ done
+ done)
+
# force to recopmile wl for shimbun module
# fix "Cannot open load file: elmo-shimbun"
if test -d /usr/share/${FLAVOR}/site-lisp/wl; then
pgpkznvaKplZP.pgp
Description: PGP signature

