[Pkg-ocaml-maint-commits] [SCM] tuareg-mode packaging branch, master-experimental, updated. debian/2.0.2-1-5-g8738b94

Ralf Treinen treinen at free.fr
Thu Nov 18 21:24:29 UTC 2010


The following commit has been merged in the master-experimental branch:
commit 8738b9472549bd3c71758b3aa03c147c6ba3d257
Author: Ralf Treinen <treinen at free.fr>
Date:   Thu Nov 18 22:17:15 2010 +0100

    partial byte-compile on xemacs21

diff --git a/debian/changelog b/debian/changelog
index e82c880..3bcd230 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 tuareg-mode (1:2.0.4-1) experimental; urgency=low
 
   * New upstream version.
+  * Byte-compile emacs files also on xemacs21, except for camldebug-tuareg.el
 
- -- Ralf Treinen <treinen at debian.org>  Thu, 18 Nov 2010 22:10:00 +0100
+ -- Ralf Treinen <treinen at debian.org>  Thu, 18 Nov 2010 22:16:56 +0100
 
 tuareg-mode (1:2.0.2-1) experimental; urgency=low
 
diff --git a/debian/emacsen-install b/debian/emacsen-install
index 1905019..3a04e67 100644
--- a/debian/emacsen-install
+++ b/debian/emacsen-install
@@ -29,14 +29,20 @@ FILES=`echo *.el`
 cp ${FILES} ${ELCDIR}
 cd ${ELCDIR}
 
-#case ${FLAVOR} in
-#    xemacs21) exit 0;
-#esac
-
 cat << EOF > path.el
 (setq load-path (cons "." load-path) byte-compile-warnings nil)
 EOF
-${FLAVOR} ${FLAGS} ${FILES}
+
+case "${FLAVOR}" in
+    xemacs21)
+        FILESX=`ls *.el | egrep -v camldebug-tuareg.el`
+        ${FLAVOR} ${FLAGS} ${FILESX}
+        ;;
+    emacs*)
+        ${FLAVOR} ${FLAGS} ${FILES}
+        ;;
+esac
+
 rm -f *.el path.el path.elc
 
 exit 0

-- 
tuareg-mode packaging



More information about the Pkg-ocaml-maint-commits mailing list