Package: dh-make Version: 0.59 Severity: normal Tags: patch As Kevin Ryde pointed out in #653789, emacs' M-x describe-function provides a link button to the installed source file if that source file is found next to the .elc containing the relevant byte code. He suggested solving this with symlinks to the installed .el files which is what every other package containing Elisp code seems to be doing.
The emacs-insatll.ex template (which I used for the sepia package) installed with dh-make didn't create those symlinks so far. Please consider applying the attached patch which fixes this. Thanks, -Hilko -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dh-make depends on: ii debhelper 8.9.14 ii dpkg-dev 1.16.1.2 ii make 3.81-8.1 ii perl 5.14.2-6 dh-make recommends no packages. Versions of packages dh-make suggests: ii build-essential 11.5 -- no debconf information
diff --git a/lib/debian/emacsen-install.ex b/lib/debian/emacsen-install.ex index 40b52c9..21b438c 100644 --- a/lib/debian/emacsen-install.ex +++ b/lib/debian/emacsen-install.ex @@ -33,13 +33,13 @@ fi install -m 755 -d ${ELCDIR} cd ${ELDIR} FILES=`echo *.el` -cp ${FILES} ${ELCDIR} +ln -sf ${FILES} ${ELCDIR} cd ${ELCDIR} 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