Mercurial > hg > xemacs-beta
comparison lib-src/update-elc.sh @ 239:41f2f0e326e9 r20-5b18
Import from CVS: tag r20-5b18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:15:48 +0200 |
parents | 0e522484dd2a |
children | 405dd6d1825b |
comparison
equal
deleted
inserted
replaced
238:b5f2e56b938d | 239:41f2f0e326e9 |
---|---|
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 -vanilla " | 64 BYTECOMP="$REAL -batch -q -no-site-file " |
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 -vanilla -l `pwd`/lisp/cleantree -f batch-remove-old-elc lisp | 68 $EMACS -batch -q -no-site-file -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 -vanilla -eval \"$lisp_prog\"`" | 94 mule_p="`$EMACS -batch -q -no-site-file -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 |