]> code.delx.au - gnu-emacs/blobdiff - make-dist
Fix cateogries of Lao symbols.
[gnu-emacs] / make-dist
index 645046d3c33ebc5494e13e3d4b754856d46b84ba..80758bce847452458f13f299c43d002eb510a8d6 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -95,6 +95,7 @@ fi
 ### that the shell is running in an Emacs window.)
 if [ $update = yes ];
 then
+  unset EMACS_UNIBYTE
   if [ -f src/emacs ];
   then
     EMACS=`pwd`/src/emacs
@@ -174,7 +175,8 @@ then
   bogosities=
   for file in $losers; do
     file1=`echo $file | sed -e "s|.*/||"`
-    if ! grep -q "dontcompilefiles:.* $file1\($\| \)" lisp/Makefile; then
+    if ! sed -n -e "/^DONTCOMPILE/,/[^\\]\$/p" lisp/Makefile |
+        grep -q "[     ]$file1\($\| \)"; then
       case $file in
        site-init.el | site-load.el | site-start.el | default.el)
          ;;
@@ -215,11 +217,11 @@ then
 
   echo "Updating finder, custom and autoload data"
 
-  (cd lisp; make updates EMACS=$EMACS)
+  (cd lisp; make updates EMACS="$EMACS")
 
   echo "Updating leim-list.el"
 
-  (cd leim; make leim-list.el EMACS=$EMACS)
+  (cd leim; make leim-list.el EMACS="$EMACS")
 
   echo "Recompiling Lisp files"