[Pkg-ocaml-maint-commits] [SCM] tuareg-mode packaging branch, rt, updated. debian/2.0.1-1-6-ge8f40d9

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


The following commit has been merged in the rt branch:
commit ccac5e7b58699e49321e85e8a9cd3e9c0ed820ef
Author: Ralf Treinen <treinen at free.fr>
Date:   Sun Oct 24 17:27:46 2010 +0200

    restructure comilation in emacsen-install

diff --git a/debian/changelog b/debian/changelog
index 2cf9f79..da74e11 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
 tuareg-mode (1:2.0.1-2) unstable; urgency=low
 
-  * Enable byte-compilation on xemacs21 except for the file camldebug-tuareg.
+  * Enable byte-compilation on xemacs21 
 
- -- Ralf Treinen <treinen at debian.org>  Thu, 27 May 2010 22:04:49 +0200
+ -- Ralf Treinen <treinen at debian.org>  Sun, 24 Oct 2010 17:27:21 +0200
 
 tuareg-mode (1:2.0.1-1) unstable; urgency=low
 
diff --git a/debian/emacsen-install b/debian/emacsen-install
index b3be08f..571e98c 100644
--- a/debian/emacsen-install
+++ b/debian/emacsen-install
@@ -25,21 +25,24 @@ fi
 
 install -m 755 -d ${ELCDIR}
 cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+
+# xemacs21 needs special to compile camldebug
 case "${FLAVOR}" in
     xemacs21)
-        FILES=`ls *.el | egrep -v camldebug-tuareg.el`
+        FILES1=`ls *.el | egrep -v camldebug-tuareg.el`
+	${FLAVOR} ${FLAGS} ${FILES1}
         ;;
-    *)
-        FILES=`ls *.el`
+    emacs*)
+	${FLAVOR} ${FLAGS} ${FILES}
         ;;
 esac
-cp ${FILES} ${ELCDIR}
-cd ${ELCDIR}
 
-cat << EOF > path.el
-(setq load-path (cons "." load-path) byte-compile-warnings nil)
-EOF
-${FLAVOR} ${FLAGS} ${FILES}
 rm -f ${FILES} path.el path.elc
 
 exit 0

-- 
tuareg-mode packaging



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