Mercurial > hg > xemacs-beta
comparison lib-src/update-elc.sh @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | 1f50e6fe4f3f |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
397:f4aeb21a5bad | 398:74fd4e045ea6 |
---|---|
46 export EMACS | 46 export EMACS |
47 | 47 |
48 echo " (using $EMACS)" | 48 echo " (using $EMACS)" |
49 | 49 |
50 # fuckin' sysv, man... | 50 # fuckin' sysv, man... |
51 # Nuke this function... | |
51 if [ "`uname -r | sed 's/[^0-9]*\([0-9]*\).*/\1/'`" -gt 4 ]; then | 52 if [ "`uname -r | sed 's/[^0-9]*\([0-9]*\).*/\1/'`" -gt 4 ]; then |
52 echon() | 53 echon() |
53 { | 54 { |
54 /bin/echo $* '\c' | 55 /bin/echo $* '\c' |
55 } | 56 } |
104 echon "Checking for Mule support..." | 105 echon "Checking for Mule support..." |
105 lisp_prog='(princ (featurep (quote mule)))' | 106 lisp_prog='(princ (featurep (quote mule)))' |
106 mule_p="`$EMACS -batch -vanilla -eval \"$lisp_prog\"`" | 107 mule_p="`$EMACS -batch -vanilla -eval \"$lisp_prog\"`" |
107 if test "$mule_p" = nil ; then | 108 if test "$mule_p" = nil ; then |
108 echo No | 109 echo No |
109 ignore_dirs="$ignore=dirs mule" | 110 ignore_dirs="$ignore_dirs mule" |
110 else | 111 else |
111 echo Yes | 112 echo Yes |
112 fi | 113 fi |
113 | 114 |
114 # first recompile the byte-compiler, so that the other compiles take place | 115 # first recompile the byte-compiler, so that the other compiles take place |
174 \!/site-start.el$!d | 175 \!/site-start.el$!d |
175 \!/site-load.el$!d | 176 \!/site-load.el$!d |
176 \!/site-init.el$!d | 177 \!/site-init.el$!d |
177 \!/version.el$!d | 178 \!/version.el$!d |
178 \!/very-early-lisp.el$!d | 179 \!/very-early-lisp.el$!d |
179 \!/Installation.el$!d | |
180 ' | 180 ' |
181 | 181 |
182 echo "Compiling files without .elc..." | 182 echo "Compiling files without .elc..." |
183 NUMTOCOMPILE=20 # compile this many files with each invocation | 183 NUMTOCOMPILE=20 # compile this many files with each invocation |
184 comm -23 $els $elcs | \ | 184 comm -23 $els $elcs | \ |