The following commit has been merged in the master branch:
commit 95377c120cda2378761f921a779dae7a09c743b5
Author: Ralf Treinen <trei...@free.fr>
Date:   Thu May 31 08:56:05 2012 +0200

    create symbolic links for .el files in elc directory

diff --git a/debian/changelog b/debian/changelog
index f4ef8c7..d6172e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,9 +13,11 @@ tuareg-mode (1:2.0.6-1) UNRELEASED; urgency=low
     debian ocaml policy.
   * debian/rules: no more files custom-tuareg.el or sym-lock.el to install
   * installation: do not compile for xemacs.
-  * emacs startup: activate SMIE indentation engine
+  * debian/emacsen-startup: activate SMIE indentation engine
+  * debian/emacsen-install: create in ELC directory symbolic links for the
+    corresponding .el files (closes: #671573)
 
- -- Ralf Treinen <trei...@debian.org>  Thu, 31 May 2012 08:09:03 +0200
+ -- Ralf Treinen <trei...@debian.org>  Thu, 31 May 2012 08:55:49 +0200
 
 tuareg-mode (1:2.0.4-4) unstable; urgency=low
 
diff --git a/debian/emacsen-install b/debian/emacsen-install
index e72d13f..152e711 100644
--- a/debian/emacsen-install
+++ b/debian/emacsen-install
@@ -15,6 +15,7 @@ echo install/${PACKAGE}: Handling install for emacsen flavor 
${FLAVOR}
 FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
 ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
 ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+RELELDIR=../../../emacs/site-lisp/${PACKAGE}
 
 # Install-info-altdir does not actually exist. 
 # Maybe somebody will write it.
@@ -43,4 +44,9 @@ esac
 
 rm -f *.el path.el path.elc
 
+cd ${ELCDIR}
+for f in ${FILES} ; do
+    ln -sf ${RELELDIR}/$f .
+done
+
 exit 0

-- 
tuareg-mode packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to