comparison lib-src/update-elc.sh @ 263:727739f917cb r20-5b30

Import from CVS: tag r20-5b30
author cvs
date Mon, 13 Aug 2007 10:24:41 +0200
parents 405dd6d1825b
children 90d73dddcdc4
comparison
equal deleted inserted replaced
262:9d8607af9e13 263:727739f917cb
59 echo -n $* 59 echo -n $*
60 } 60 }
61 fi 61 fi
62 62
63 REAL=`cd \`dirname $EMACS\` ; pwd | sed 's|^/tmp_mnt||'`/`basename $EMACS` 63 REAL=`cd \`dirname $EMACS\` ; pwd | sed 's|^/tmp_mnt||'`/`basename $EMACS`
64 BYTECOMP="$REAL -batch -q -no-site-file " 64 BYTECOMP="$REAL -batch -vanilla "
65 echo "Recompiling in `pwd|sed 's|^/tmp_mnt||'`" 65 echo "Recompiling in `pwd|sed 's|^/tmp_mnt||'`"
66 echo " with $REAL..." 66 echo " with $REAL..."
67 67
68 $EMACS -batch -q -no-site-file -l `pwd`/lisp/cleantree -f batch-remove-old-elc lisp 68 $EMACS -batch -vanilla -l `pwd`/lisp/cleantree -f batch-remove-old-elc lisp
69 69
70 prune_vc="( -name '.*' -o -name SCCS -o -name RCS -o -name CVS ) -prune -o" 70 prune_vc="( -name '.*' -o -name SCCS -o -name RCS -o -name CVS ) -prune -o"
71 71
72 # $els is a list of all .el files 72 # $els is a list of all .el files
73 # $elcs is a list of all .elc files 73 # $elcs is a list of all .elc files
89 ignore_pattern='' 89 ignore_pattern=''
90 90
91 # Only use Mule XEmacs to compile Mule-specific elisp dirs 91 # Only use Mule XEmacs to compile Mule-specific elisp dirs
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 -q -no-site-file -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 skk" 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