annotate lib-src/update-elc.sh @ 347:7c94d56991e1 r21-1-3

Import from CVS: tag r21-1-3
author cvs
date Mon, 13 Aug 2007 10:53:48 +0200
parents 4f79e16b1112
children cc15677e0335
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 #!/bin/sh
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
2 # update-elc.sh --- recompile all missing or out-of-date .elc files
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
4 # Author: Jamie Zawinski, Ben Wing, Martin Buchholz
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
5 # Maintainer: Martin Buchholz
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
6 # Keywords: recompile byte-compile .el .elc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7
181
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
8 # This file is part of XEmacs.
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
9
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
10 # XEmacs is free software; you can redistribute it and/or modify it
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
11 # under the terms of the GNU General Public License as published by
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
12 # the Free Software Foundation; either version 2, or (at your option)
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
13 # any later version.
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
14
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
15 # XEmacs is distributed in the hope that it will be useful, but
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
16 # WITHOUT ANY WARRANTY; without even the implied warranty of
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
18 # General Public License for more details.
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
19
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
20 # You should have received a copy of the GNU General Public License
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
21 # along with XEmacs; see the file COPYING. If not, write to
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
22 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
23 # Boston, MA 02111-1307, USA.
bfd6434d15b3 Import from CVS: tag r20-3b17
cvs
parents: 177
diff changeset
24
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 ### Commentary:
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
26 ## Recompile all .elc files that need recompilation. Requires a
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
27 ## working version of "xemacs". Correctly handles the case where the
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
28 ## .elc files are missing; thus you can execute "rm lisp/*/*.elc"
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
29 ## before running this script. Run this from the parent of the
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
30 ## "lisp" directory, or another nearby directory.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
32 set -e
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
34 # Try to find the lisp directory in several places.
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
35 # (Sun workspaces have an "editor" directory)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
36 for dir in . .. ../.. editor ../editor ; do
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
37 if test -d $dir/lisp/. ; then cd $dir ; break ; fi
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
38 done
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
40 if test ! -d lisp/. ; then
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
41 echo "$0: Cannot find the \"lisp\" directory."
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
42 exit 1
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
45 if test -z "$EMACS"; then EMACS="./src/xemacs"; fi
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
46 export EMACS
36
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 34
diff changeset
47
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
48 echo " (using $EMACS)"
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
49
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
50 # fuckin' sysv, man...
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 263
diff changeset
51 if [ "`uname -r | sed 's/[^0-9]*\([0-9]*\).*/\1/'`" -gt 4 ]; then
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
52 echon()
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
53 {
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
54 /bin/echo $* '\c'
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
55 }
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
56 else
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
57 echon()
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
58 {
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
59 echo -n $*
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
60 }
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
61 fi
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
62
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
63 EMACS_DIR=`cd \`dirname $EMACS\` && pwd`;
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
64 CANON_PWD=`pwd`
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
65 # Account for various system automounter configurations
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
66 if test -d "/net"; then
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
67 if test -d "/tmp_mnt/net"; then tdir="/tmp_mnt/net"; else tdir="/tmp_mnt"; fi
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
68 EMACS_DIR=`echo "$EMACS_DIR" | \
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
69 sed -e "s|^${tdir}/|/net/|" -e "s|^/a/|/net/|" -e "s|^/amd/|/net/|"`
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
70 CANON_PWD=`echo "$CANON_PWD" | \
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
71 sed -e "s|^${tdir}/|/net/|" -e "s|^/a/|/net/|" -e "s|^/amd/|/net/|"`
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
72 fi
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
73 REAL="$EMACS_DIR/`basename $EMACS`"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
74
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
75 echo "Recompiling in $CANON_PWD"
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
76 echo " with $REAL..."
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
77
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
78 BYTECOMP="$REAL -batch -vanilla "
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
79
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 304
diff changeset
80 $EMACS -batch -vanilla -l $CANON_PWD/lisp/cleantree -f batch-remove-old-elc lisp
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
81
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
82 prune_vc="( -name '.*' -o -name SCCS -o -name RCS -o -name CVS ) -prune -o"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
84 # $els is a list of all .el files
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
85 # $elcs is a list of all .elc files
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
86 els=/tmp/update-elc-1.$$ elcs=/tmp/update-elc-2.$$
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
87 rm -f $els $elcs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
88 trap "rm -f $els $elcs" 0 1 2 3 15
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
89 find lisp/. $prune_vc -name '*.el' -print | sort > $els
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
90 find lisp/. $prune_vc -name '*.elc' -print | sed 's/elc$/el/' | sort > $elcs
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
91
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
93 echon "Deleting .elc files without .el files..."
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 102
diff changeset
94 comm -13 $els $elcs | sed -e '\!/vm.el!d' -e 's/el$/elc/' | \
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
95 while read file ; do echo rm "$file" ; rm "$file" ; done
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
96 echo done.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
30
ec9a17fef872 Import from CVS: tag r19-15b98
cvs
parents: 26
diff changeset
98
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
99 # Compute patterns to ignore when searching for files
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
100 ignore_dirs=""
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
101 ignore_pattern=''
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
103 # Only use Mule XEmacs to compile Mule-specific elisp dirs
114
8619ce7e4c50 Import from CVS: tag r20-1b9
cvs
parents: 112
diff changeset
104 echon "Checking for Mule support..."
84
ac0620f6398e Import from CVS: tag r20-0b92
cvs
parents: 80
diff changeset
105 lisp_prog='(princ (featurep (quote mule)))'
263
727739f917cb Import from CVS: tag r20-5b30
cvs
parents: 261
diff changeset
106 mule_p="`$EMACS -batch -vanilla -eval \"$lisp_prog\"`"
84
ac0620f6398e Import from CVS: tag r20-0b92
cvs
parents: 80
diff changeset
107 if test "$mule_p" = nil ; then
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
108 echo No
347
7c94d56991e1 Import from CVS: tag r21-1-3
cvs
parents: 333
diff changeset
109 ignore_dirs="$ignore_dirs mule"
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 116
diff changeset
110 else
84
ac0620f6398e Import from CVS: tag r20-0b92
cvs
parents: 80
diff changeset
111 echo Yes
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
112 fi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 # first recompile the byte-compiler, so that the other compiles take place
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 # with the latest version (assuming we're compiling the lisp dir of the emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 # we're running, which might not be the case, but often is.)
209
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
117 #echo "Checking the byte compiler..."
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
118 #$BYTECOMP -f batch-byte-recompile-directory lisp/bytecomp
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
120 # Prepare for byte-compiling directories with directory-specific instructions
217
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 215
diff changeset
121 # Not necessary any more, but I want to keep the text current to cut & paste
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 215
diff changeset
122 # into the package lisp maintenance tree.
227
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
123 #make_special_commands=''
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
124 #make_special () {
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
125 # dir="$1"; shift;
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
126 # ignore_dirs="$ignore_dirs $dir"
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
127 # make_special_commands="$make_special_commands \
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
128 #echo \"Compiling in lisp/$dir\"; \
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
129 #(cd \"lisp/$dir\" && ${MAKE:-make} EMACS=$REAL ${1+$*}); \
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
130 #echo \"lisp/$dir done.\";"
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
131 #}
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
132
227
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
133 #if test "$mule_p" != nil; then
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
134 # make_special skk all
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
135 #fi
30
ec9a17fef872 Import from CVS: tag r19-15b98
cvs
parents: 26
diff changeset
136
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
137 ## AUCTeX is a package now
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
138 # if test "$mule_p" = nil ; then
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
139 # make_special auctex some
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
140 # else
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
141 # make_special auctex some MULE_ELC=tex-jp.elc
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
142 # fi
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 169
diff changeset
143 #make_special cc-mode all
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 201
diff changeset
144 # EFS is now packaged
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 201
diff changeset
145 # make_special efs x20
217
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 215
diff changeset
146 #make_special eos -k # not strictly necessary...
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 171
diff changeset
147 ## make_special gnus some # Now this is a package.
209
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
148 # hyperbole is now packaged
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
149 # make_special hyperbole elc
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
150 # We're not ready for the following, yet.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
151 #make_special ilisp XEmacsELC=custom-load.elc elc
209
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
152 # ilisp is now packaged
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
153 # make_special ilisp elc
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
154 # oobr is now packaged
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
155 # make_special oobr HYPB_ELC='' elc
201
eb5470882647 Import from CVS: tag r20-3b27
cvs
parents: 197
diff changeset
156 ## W3 is a package now.
eb5470882647 Import from CVS: tag r20-3b27
cvs
parents: 197
diff changeset
157 #make_special w3 xemacs-w3
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
159 for dir in $ignore_dirs ; do
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
160 ignore_pattern="${ignore_pattern}/\\/$dir\\//d
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
161 /\\/$dir\$/d
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
162 "
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
163 done
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
165 # Other special-case filenames that don't get byte-compiled
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
166 ignore_pattern="$ignore_pattern"'
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 \!/,!d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 \!/paths.el$!d
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
169 \!/loadup.el$!d
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
170 \!/loadup-el.el$!d
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
171 \!/update-elc.el$!d
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
172 \!/dumped-lisp.el$!d
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
173 \!/make-docfile.el$!d
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 \!/site-start.el$!d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 \!/site-load.el$!d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 \!/site-init.el$!d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 \!/version.el$!d
304
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 282
diff changeset
178 \!/very-early-lisp.el$!d
261
405dd6d1825b Import from CVS: tag r20-5b29
cvs
parents: 239
diff changeset
179 \!/Installation.el$!d
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
180 '
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
182 echo "Compiling files without .elc..."
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
183 NUMTOCOMPILE=20 # compile this many files with each invocation
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 74
diff changeset
184 comm -23 $els $elcs | \
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 74
diff changeset
185 sed "$ignore_pattern" | \
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 74
diff changeset
186 xargs -t -n$NUMTOCOMPILE $BYTECOMP -f batch-byte-compile
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 38
diff changeset
187 echo "Compiling files without .elc... Done"
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 16
diff changeset
188
227
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
189 #if test "$mule_p" != nil; then
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
190 # eval "$make_special_commands"
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 223
diff changeset
191 #fi