comparison lib-src/update-elc.sh @ 112:48d667d6f17f r20-1b8

Import from CVS: tag r20-1b8
author cvs
date Mon, 13 Aug 2007 09:20:48 +0200
parents fe104dbd9147
children 8619ce7e4c50
comparison
equal deleted inserted replaced
111:164ab62060bf 112:48d667d6f17f
52 echo "Recompiling in `pwd|sed 's:^/tmp_mnt::'`" 52 echo "Recompiling in `pwd|sed 's:^/tmp_mnt::'`"
53 echo " with $EMACS..." 53 echo " with $EMACS..."
54 54
55 prune_vc="( -name SCCS -o -name RCS -o -name CVS ) -prune -o" 55 prune_vc="( -name SCCS -o -name RCS -o -name CVS ) -prune -o"
56 56
57 $EMACS -batch -q -no-site-file -l cleantree -f batch-remove-old-elc lisp 57 $EMACS -batch -q -l `pwd`/lisp/prim/cleantree -f batch-remove-old-elc lisp
58 58
59 # $els is a list of all .el files 59 # $els is a list of all .el files
60 # $elcs is a list of all .elc files 60 # $elcs is a list of all .elc files
61 els=/tmp/update-elc-1.$$ elcs=/tmp/update-elc-2.$$ 61 els=/tmp/update-elc-1.$$ elcs=/tmp/update-elc-2.$$
62 rm -f $els $elcs 62 rm -f $els $elcs
154 comm -23 $els $elcs | \ 154 comm -23 $els $elcs | \
155 sed "$ignore_pattern" | \ 155 sed "$ignore_pattern" | \
156 xargs -t -n$NUMTOCOMPILE $BYTECOMP -f batch-byte-compile 156 xargs -t -n$NUMTOCOMPILE $BYTECOMP -f batch-byte-compile
157 echo "Compiling files without .elc... Done" 157 echo "Compiling files without .elc... Done"
158 158
159
160 echo "Compiling files with out-of-date .elc..."
161 find lisp/* $prune_vc -type d -print | \
162 sed "$ignore_pattern" | \
163 xargs -t $BYTECOMP -f batch-byte-recompile-directory
164 echo "Compiling files with out-of-date .elc... Done"
165
166 eval "$make_special_commands" 159 eval "$make_special_commands"