comparison 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
comparison
equal deleted inserted replaced
218:c9f226976f56 219:262b8bb4a523
92 echon "Checking for Mule support..." 92 echon "Checking for Mule support..."
93 lisp_prog='(princ (featurep (quote mule)))' 93 lisp_prog='(princ (featurep (quote mule)))'
94 mule_p="`$EMACS -batch -vanilla -eval \"$lisp_prog\"`" 94 mule_p="`$EMACS -batch -vanilla -eval \"$lisp_prog\"`"
95 if test "$mule_p" = nil ; then 95 if test "$mule_p" = nil ; then
96 echo No 96 echo No
97 ignore_dirs="$ignore_dirs its egg mule language leim" 97 ignore_dirs="$ignore_dirs its egg mule language leim skk"
98 ignore_pattern='\!/tl/char-table.el$!d 98 ignore_pattern='\!/tl/char-table.el$!d
99 \!/tl/chartblxmas.el$!d 99 \!/tl/chartblxmas.el$!d
100 \!/mu/latex-math-symbol.el$!d 100 \!/mu/latex-math-symbol.el$!d
101 ' 101 '
102 else 102 else
110 #$BYTECOMP -f batch-byte-recompile-directory lisp/bytecomp 110 #$BYTECOMP -f batch-byte-recompile-directory lisp/bytecomp
111 111
112 # Prepare for byte-compiling directories with directory-specific instructions 112 # Prepare for byte-compiling directories with directory-specific instructions
113 # Not necessary any more, but I want to keep the text current to cut & paste 113 # Not necessary any more, but I want to keep the text current to cut & paste
114 # into the package lisp maintenance tree. 114 # into the package lisp maintenance tree.
115 #make_special_commands='' 115 make_special_commands=''
116 #make_special () { 116 make_special () {
117 # dir="$1"; shift; 117 dir="$1"; shift;
118 # ignore_dirs="$ignore_dirs $dir" 118 ignore_dirs="$ignore_dirs $dir"
119 # make_special_commands="$make_special_commands \ 119 make_special_commands="$make_special_commands \
120 #echo \"Compiling in lisp/$dir\"; \ 120 echo \"Compiling in lisp/$dir\"; \
121 #(cd \"lisp/$dir\" && ${MAKE:-make} EMACS=$REAL ${1+$*}); \ 121 (cd \"lisp/$dir\" && ${MAKE:-make} EMACS=$REAL ${1+$*}); \
122 #echo \"lisp/$dir done.\";" 122 echo \"lisp/$dir done.\";"
123 #} 123 }
124
125 if test "$mule_p" != nil; then
126 make_special skk all
127 fi
124 128
125 ## AUCTeX is a package now 129 ## AUCTeX is a package now
126 # if test "$mule_p" = nil ; then 130 # if test "$mule_p" = nil ; then
127 # make_special auctex some 131 # make_special auctex some
128 # else 132 # else
190 comm -23 $els $elcs | \ 194 comm -23 $els $elcs | \
191 sed "$ignore_pattern" | \ 195 sed "$ignore_pattern" | \
192 xargs -t -n$NUMTOCOMPILE $BYTECOMP -f batch-byte-compile 196 xargs -t -n$NUMTOCOMPILE $BYTECOMP -f batch-byte-compile
193 echo "Compiling files without .elc... Done" 197 echo "Compiling files without .elc... Done"
194 198
195 #eval "$make_special_commands" 199 if test "$mule_p" != nil; then
200 eval "$make_special_commands"
201 fi