diff lib-src/update-elc.sh @ 219:262b8bb4a523 r20-4b8

Import from CVS: tag r20-4b8
author cvs
date Mon, 13 Aug 2007 10:09:35 +0200
parents d44af0c54775
children 2c611d1463a6
line wrap: on
line diff
--- a/lib-src/update-elc.sh	Mon Aug 13 10:08:36 2007 +0200
+++ b/lib-src/update-elc.sh	Mon Aug 13 10:09:35 2007 +0200
@@ -94,7 +94,7 @@
 mule_p="`$EMACS -batch -vanilla -eval \"$lisp_prog\"`"
 if test "$mule_p" = nil ; then
 	echo No
-	ignore_dirs="$ignore_dirs its egg mule language leim"
+	ignore_dirs="$ignore_dirs its egg mule language leim skk"
 	ignore_pattern='\!/tl/char-table.el$!d
 \!/tl/chartblxmas.el$!d
 \!/mu/latex-math-symbol.el$!d
@@ -112,15 +112,19 @@
 # Prepare for byte-compiling directories with directory-specific instructions
 # Not necessary any more, but I want to keep the text current to cut & paste
 # into the package lisp maintenance tree.
-#make_special_commands=''
-#make_special () {
-#  dir="$1"; shift;
-#  ignore_dirs="$ignore_dirs $dir"
-#  make_special_commands="$make_special_commands \
-#echo \"Compiling in lisp/$dir\"; \
-#(cd \"lisp/$dir\" && ${MAKE:-make} EMACS=$REAL ${1+$*}); \
-#echo \"lisp/$dir done.\";"
-#}
+make_special_commands=''
+make_special () {
+  dir="$1"; shift;
+  ignore_dirs="$ignore_dirs $dir"
+  make_special_commands="$make_special_commands \
+echo \"Compiling in lisp/$dir\"; \
+(cd \"lisp/$dir\" && ${MAKE:-make} EMACS=$REAL ${1+$*}); \
+echo \"lisp/$dir done.\";"
+}
+
+if test "$mule_p" != nil; then
+	make_special skk all
+fi
 
 ## AUCTeX is a package now
 # if test "$mule_p" = nil ; then
@@ -192,4 +196,6 @@
  xargs -t -n$NUMTOCOMPILE $BYTECOMP -f batch-byte-compile
 echo "Compiling files without .elc... Done"
 
-#eval "$make_special_commands"
+if test "$mule_p" != nil; then
+	eval "$make_special_commands"
+fi